Possibly fixes i18n issues by disabling concatenateModules from production webpack. #745.
This commit is contained in:
parent
e842645b5c
commit
35b4a6560b
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue