Do not use @babel/preset-env to compile node_modules (#10289)
This commit is contained in:
parent
11e59cab70
commit
e51e6ba353
1 changed files with 0 additions and 3 deletions
|
@ -10,9 +10,6 @@ module.exports = {
|
|||
loader: 'babel-loader',
|
||||
options: {
|
||||
babelrc: false,
|
||||
presets: [
|
||||
['@babel/env', { modules: false }],
|
||||
],
|
||||
plugins: [
|
||||
'transform-react-remove-prop-types',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue