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

Fix NPM package on Node10 #666

Merged
merged 1 commit into from
Jul 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .babelrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
"presets": [["@babel/preset-env", { "targets": { "node": "10" } }]],
"plugins": [
"./resources/load-statically-from-npm.js",
"@babel/plugin-transform-flow-strip-types"
],
"overrides": [
{
"include": ["**/__tests__/**/*"],
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
}
]
}