From dc3d01eb2de90fd504b1c8b95579dcb24ecb2158 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 27 Oct 2022 20:33:56 +0300 Subject: Upgrade dependencies and fix Webpack configuration --- vnext/webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vnext/webpack.config.js') 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' }), -- cgit v1.2.3