From 35b4a6560bb2c625b767aadd52f997e59596bbef Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Fri, 18 Nov 2022 12:07:26 -0300 Subject: [PATCH] Possibly fixes i18n issues by disabling concatenateModules from production webpack. #745. --- webpack.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.prod.js b/webpack.prod.js index f4a9165d7..b4a187d60 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -10,7 +10,7 @@ const terserPlugin = new TerserPlugin({ comments: /translators:/i, }, mangle: { - reserved: ["__"], + reserved: [ '__', '_n', '_nx', '_x' ] } }, }); @@ -19,7 +19,7 @@ module.exports = merge(common, { mode: 'production', devtool: undefined, optimization: { - minimize: true, + concatenateModules: false, minimizer: [terserPlugin] }, resolve: {