diff options
author | Vitaly Takmazov | 2021-03-30 15:06:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-03-30 15:06:18 +0300 |
commit | b4bac6106acedf660d4b8b590ee4500ff51ec7f4 (patch) | |
tree | 54a9cbd4b2f7934fc8d2c59010271c2a52c338b9 /webpack.config.js | |
parent | 44d06eb2feac6b5189c0f7e974287015813cf111 (diff) |
babel: exclude es.symbol.* polyfills from the bundle
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js index c4fa2913..a9329712 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,7 +19,11 @@ module.exports = (env, argv) => { module: { rules: [{ test: /\.js$/, - exclude: /@babel(?:\/|\\{1,2})runtime|core-js/, + exclude: [ + /\bnode_modules\b/, + /\bcore-js\b/, + /\bwebpack\/buildin\b/ + ], loader: 'babel-loader' }] }, |