Skip to content

Commit

Permalink
Don't include unnecessary files in final build
Browse files Browse the repository at this point in the history
  • Loading branch information
KELiON committed Nov 19, 2016
1 parent d7bedfd commit 57975c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ const DEFAULT_OPTS = {
'^/main/(?!app.html)',
'^/background/(?!index.html)',
'^/.babelrc',
'^/.DS_Store',
'^/.editorconfig',
'^/.eslint.*',
'^/.git.*',
'^/.travis.yml',
'^/.tmp',
]
.concat(devDeps.map(name => `/node_modules/${name}($|/)`))
.concat(
Expand Down

0 comments on commit 57975c9

Please sign in to comment.