Browse Source

Push dashboard plugin only in dev enviroment

pull/47/head
Krzysztof Piasecki 8 years ago
parent
commit
ec3b67c784
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      webpack/plugins/index.js

+ 3
- 1
webpack/plugins/index.js View File

@ -8,10 +8,12 @@ plugins.push(
...(require('./htmlPlugin')),
...(require('./internal')),
require('./caseSensitivePlugin'),
require('./dashboardPlugin'),
require('./extractPlugin')
);
if (manifest.IS_DEVELOPMENT) {
plugins.push(require('./dashboardPlugin'));
}
if (manifest.IS_PRODUCTION) {
plugins.push(require('./copyPlugin'));


Loading…
Cancel
Save