Skip to content

Commit

Permalink
Use loose compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Jun 17, 2018
1 parent 0c72d59 commit 04b144b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@
},
"es": {
"presets": [
["@babel/preset-env", { "modules": false }]
["@babel/preset-env", {
"modules": false,
"loose": true
}]
]
},
"cjs": {
"presets": [
["@babel/preset-env", { "modules": "commonjs" }]
["@babel/preset-env", {
"modules": "commonjs",
"loose": true
}]
]
}
}
Expand Down

0 comments on commit 04b144b

Please sign in to comment.