Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 9244b20

Browse files
committed
Fix NPM package on Node10
1 parent 4e18770 commit 9244b20

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.babelrc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2-
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
2+
"presets": [["@babel/preset-env", { "targets": { "node": "10" } }]],
33
"plugins": [
44
"./resources/load-statically-from-npm.js",
55
"@babel/plugin-transform-flow-strip-types"
6+
],
7+
"overrides": [
8+
{
9+
"include": ["**/__tests__/**/*"],
10+
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
11+
}
612
]
713
}

0 commit comments

Comments
 (0)