diff --git a/packages/rax-webpack-config/src/webpack.build.ts b/packages/rax-webpack-config/src/webpack.build.ts index c1cf47453..9bf0878bc 100644 --- a/packages/rax-webpack-config/src/webpack.build.ts +++ b/packages/rax-webpack-config/src/webpack.build.ts @@ -6,6 +6,7 @@ export default (config) => { config.devtool(false); let terserPluginOptions = { + test: /\\.m?[t|j]sx?(\\?.*)?$/i, parallel: true, extractComments: false, terserOptions: {