diff --git a/README.md b/README.md index 3ee53007..500bb883 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ let app = new EmberApp(defaults, { }); ``` -For in-repo addons (index.js): +For in-repo and standalone addons (index.js): ```js module.exports = { @@ -67,6 +67,16 @@ module.exports = EngineAddon.extend({ }); ``` +For `app` files in standalone addons (ember-cli-build.js): + +```js +let app = new EmberAddon(defaults, { + babel: { + plugins: [...require('ember-cli-code-coverage').buildBabelPlugin()] + }, +}); +``` + tests/test-helpers.js: ```js import { forceModulesToBeLoaded, sendCoverage } from 'ember-cli-code-coverage/test-support';