Skip to content

Commit

Permalink
babel: improve perf.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 17, 2017
1 parent 3d65488 commit 1860064
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"presets": ["es2017", "es2016", "es2015"],
"presets": [
["es2017"],
["es2016"],
["es2015", {
"loose": true,
"spec": false
}]
],
"plugins": [
["transform-runtime", {
"helpers": true,
"polyfill": true,
"regenerator": true
}]
Expand Down

0 comments on commit 1860064

Please sign in to comment.