mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Webpack dev config was overwriting plugins rather than concatenating
This commit is contained in:
parent
fc2219dc72
commit
de079154f4
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user