Skip to content

Commit

Permalink
Do not use @babel/preset-env to compile node_modules (mastodon#10289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored and hiyuki2578 committed Oct 2, 2019
1 parent c72c308 commit a07212a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/webpack/rules/node_modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ module.exports = {
loader: 'babel-loader',
options: {
babelrc: false,
presets: [
['@babel/env', { modules: false }],
],
plugins: [
'transform-react-remove-prop-types',
],
Expand Down

0 comments on commit a07212a

Please sign in to comment.