diff options
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index a61cb0b5..b9a89acc 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -81,7 +81,10 @@ module.exports = (env, argv) => { ] }, plugins: [ - new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), + new webpack.IgnorePlugin({ + resourceRegExp: /^\.\/locale$/, + contextRegExp: /moment$/, + }), new MiniCssExtractPlugin({ filename: 'Juick.[contenthash].css' }), |