aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js5
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'
}),