mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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');
|
const jsConfig = Config.find((item) => item.name === 'js');
|
||||||
|
|
||||||
jsConfig.plugins = [
|
jsConfig.plugins = [
|
||||||
|
...jsConfig.plugins,
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
jQuery: 'jQuery',
|
jQuery: 'jQuery',
|
||||||
$: 'jQuery',
|
$: 'jQuery',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user