diff --git a/build/webpack.base.cjs b/build/webpack.base.cjs index 6c18774e61..87b357e246 100644 --- a/build/webpack.base.cjs +++ b/build/webpack.base.cjs @@ -8,12 +8,7 @@ const commonConfig = { rules: [ { test: /\.(js)$/, - include: { - and: [ - /node_modules/ - ], - not: [/core-js/] - }, + exclude: [/core-js/], use: [ { loader: 'string-replace-loader',