Skip to content

Commit eac3f77

Browse files
Specify Node 10 as the Babel target
Preserve generator syntax instead of adding regeneratorRuntime dependency to transpiled output. Fix #9.
1 parent d5d9510 commit eac3f77

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/.babelrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2-
"presets": ["@babel/typescript", "@babel/env"],
2+
"presets": [
3+
"@babel/typescript",
4+
[
5+
"@babel/preset-env",
6+
{
7+
"targets": {
8+
"node": "10"
9+
}
10+
}
11+
]
12+
],
313
"plugins": ["@babel/plugin-proposal-class-properties"]
414
}

0 commit comments

Comments
 (0)