BUGFIX: Webpack dev config was overwriting plugins rather than concatenating

This commit is contained in:
Aaron Carlino 2017-05-12 13:50:17 +12:00
parent fc2219dc72
commit de079154f4

View File

@ -5,6 +5,7 @@ if (Array.isArray(Config)) {
const jsConfig = Config.find((item) => item.name === 'js');
jsConfig.plugins = [
...jsConfig.plugins,
new webpack.ProvidePlugin({
jQuery: 'jQuery',
$: 'jQuery',