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

This commit is contained in:
Yamagishi Kazutoshi authored and Eugen Rochko committed 2019-03-16 11:24:26 +01:00
1 parent d5c79975ea
commit 1a0d3c9c65
1 file changed
-3
-3
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',
],