Skip to content

Commit 94cd1a4

Browse files
author
Walker Leite
committed
feat(babel): add node 8 add regenerator
1 parent cd4ac8c commit 94cd1a4

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

template/.babelrc

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
"> 1%",
77
"last 2 versions",
88
"not ie <= 8"
9-
]
9+
],
10+
"node": "8"
1011
}
11-
}],
12-
"stage-2"
12+
}]
1313
],
1414
"plugins": [
15-
["babel-plugin-root-import", [
15+
[
16+
"babel-plugin-root-import",
17+
[
1618
{
1719
"rootPathPrefix": "~",
1820
"rootPathSuffix": "."
@@ -21,6 +23,14 @@
2123
"rootPathPrefix": "@",
2224
"rootPathSuffix": "client"
2325
}
24-
]]
26+
]
27+
],
28+
[
29+
"transform-runtime",
30+
{
31+
"polyfill": false,
32+
"regenerator": true
33+
}
34+
]
2535
]
2636
}

0 commit comments

Comments
 (0)