(addon, options)
| 17 | } |
| 18 | |
| 19 | function prepareAddon(addon, options) { |
| 20 | addon.pkg.keywords.push('ember-addon'); |
| 21 | addon.pkg['ember-addon'] = {}; |
| 22 | addon.files['index.js'] = |
| 23 | options.addonEntryPoint || |
| 24 | `module.exports = { |
| 25 | name: require("./package").name, |
| 26 | allowCachingPerBundle: ${Boolean(options.allowCachingPerBundle)}, |
| 27 | ${options.additionalContent || ''} |
| 28 | };`; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Gets a normalized object with provided defaults. If the 2nd argument is a function, |
no outgoing calls
no test coverage detected
searching dependent graphs…