Skip to content

Commit ae6664d

Browse files
committed
Adjust Node target for Babel compile
1 parent de8fb34 commit ae6664d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.babelrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"presets": [
3-
["@babel/preset-env", { "loose": true }]
4-
],
5-
"plugins": [
6-
["@babel/plugin-transform-runtime", { "helpers": false }]
3+
["@babel/preset-env", { "loose": true, "targets": { "node": "12" } }]
74
]
85
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"devDependencies": {
2929
"@ava/babel": "^2.0.0",
3030
"@babel/cli": "^7.16.0",
31-
"@babel/plugin-transform-runtime": "^7.16.0",
3231
"@babel/preset-env": "^7.16.0",
3332
"ava": "^3.15.0",
3433
"postcss": "^8.1.2"

0 commit comments

Comments
 (0)