This ember-cli addon injects heap analytics into index.html. More info on heap at https://heapanalytics.com
ember install ember-cli-heap
This plugin uses the ember-cli project's configuration as defined in config/environment.js
.
Add your heap projectId to config/environment.js
and you're good to go.
// environment.js
ENV.heap = {
projectId: 'xxxxxx'
}
You can disable injecting heap into different environments by setting the development param to true:
// environment.js
if (environment === 'test') {
ENV.heap = {
development: true
}
}
This is completely unofficial and is not related to Heap Analytics in any way.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request