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

This commit is contained in:
Yamagishi Kazutoshi 2019-03-16 19:24:26 +09:00 committed by Eugen Rochko
parent 11e59cab70
commit e51e6ba353

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',
],