Skip to content

Commit

Permalink
build: drop Node.js 8.x from babel transpile target (#603)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Although in practice this is currently a noop since the resulting build does not change, the build will no longer transpiles future changes for Node.js 8.x targets, so semantically this is still a breaking change.
  • Loading branch information
ctavan authored Dec 2, 2021
1 parent 477559c commit aa11485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions babel.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"plugins": [],
"env": {
"commonjs": {
"presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": "commonjs" }]]
"presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": "commonjs" }]]
},
"esmBrowser": {
"presets": [["@babel/preset-env", { "modules": false }]]
},
"esmNode": {
"presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": false }]]
"presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": false }]]
}
}
}

0 comments on commit aa11485

Please sign in to comment.