Browse Source

Do not use @babel/preset-env to compile node_modules (#10289)

master
Yamagishi Kazutoshi 5 years ago
committed by Eugen Rochko
parent
commit
1a0d3c9c65
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      config/webpack/rules/node_modules.js

+ 0
- 3
config/webpack/rules/node_modules.js View File

@ -10,9 +10,6 @@ module.exports = {
loader: 'babel-loader',
options: {
babelrc: false,
presets: [
['@babel/env', { modules: false }],
],
plugins: [
'transform-react-remove-prop-types',
],

Loading…
Cancel
Save