This ember-cli addon injects heap analytics into index.html. More info on heap at https://heapanalytics.com
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v12 or above
ember install ember-cli-heap
This plugin uses the ember-cli project's configuration as defined in config/environment.js
.
// environment.js
ENV.heap = {
projectId: 'xxxxxx'
}
Add your heap projectId to config/environment.js
and you're good to go.
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
This project is licensed under the MIT License.