Skip to content

Commit 32af322

Browse files
committed
Stop publishing "config/addon-docs.js"
1 parent 32226f6 commit 32af322

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

blueprints/ember-cli-addon-docs/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ module.exports = {
3939
}
4040

4141
fs.writeFileSync(configPath, configContents, 'utf-8');
42+
43+
if (fs.existsSync('.npmignore')) {
44+
this.insertIntoFile('.npmignore', '/config/addon-docs.js');
45+
}
4246

4347
const hasPlugins = this.project.addons.some(function(addon) {
4448
const isPlugin = addon.pkg.keywords.indexOf('ember-cli-addon-docs-plugin') !== -1;

0 commit comments

Comments
 (0)