aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-10-27 20:33:56 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitdc3d01eb2de90fd504b1c8b95579dcb24ecb2158 (patch)
tree32dc86945d24fe9f1b1c6051711d54ee49740f47 /vnext/webpack.config.js
parent6fdc0a0138fc11c7dd7b1ff4d1cfd3ed967cd1ee (diff)
Upgrade dependencies and fix Webpack configuration
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'
}),