Skip to content

Commit

Permalink
[FEATURE] - upgraded webpack v3 and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBenin committed Jul 14, 2017
1 parent 572184e commit c002fc9
Show file tree
Hide file tree
Showing 7 changed files with 2,701 additions and 2,325 deletions.
3 changes: 2 additions & 1 deletion gulpfile.babel.js/configs/karma.conf.coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ module.exports = function karmaConfIntegration(config) {
NODE_ENV: JSON.stringify('development'),
RUNTIME_ENV: JSON.stringify('browser')
}
})
}),
new webpack.optimize.ModuleConcatenationPlugin()
],
externals: {
cheerio: 'window',
Expand Down
3 changes: 2 additions & 1 deletion gulpfile.babel.js/configs/karma.conf.integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ module.exports = function karmaConfIntegration(config) {
NODE_ENV: JSON.stringify('development'),
RUNTIME_ENV: JSON.stringify('browser')
}
})
}),
new webpack.optimize.ModuleConcatenationPlugin()
],
module: {
rules: [
Expand Down
3 changes: 2 additions & 1 deletion gulpfile.babel.js/configs/karma.conf.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ module.exports = function karmaConfUnit(config) {
NODE_ENV: JSON.stringify('development'),
RUNTIME_ENV: JSON.stringify('browser')
}
})
}),
new webpack.optimize.ModuleConcatenationPlugin()
],
externals: {
cheerio: 'window',
Expand Down
1 change: 1 addition & 0 deletions gulpfile.babel.js/configs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = {
RUNTIME_ENV: JSON.stringify('browser')
}
}),
new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.HotModuleReplacementPlugin(),
// enable HMR globally

Expand Down
1 change: 1 addition & 0 deletions gulpfile.babel.js/configs/webpack.config.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
RUNTIME_ENV: JSON.stringify('browser')
}
}),
new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.LoaderOptionsPlugin({
minimize: true
}),
Expand Down
Loading

0 comments on commit c002fc9

Please sign in to comment.