Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Upgrade to babel 7 #579

Merged
merged 14 commits into from
Nov 6, 2018
Prev Previous commit
Next Next commit
Disable module transform by default, is it better?
  • Loading branch information
cometkim committed Nov 5, 2018
commit a7fc14fcd7d7dbaceba0977e7c2db256da035dd9
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
ios: 9,
},
loose: true,
modules: false,
useBuiltIns: 'usage',
shippedProposals: true,
}],
Expand Down
7 changes: 0 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ module.exports = {
exclude: /(node_modules)/,
use: {
loader: 'babel-loader',
options: {
presets: [
['@babel/preset-env', {
modules: false,
}],
],
},
},
},
],
Expand Down