Skip to content

Commit aa11485

Browse files
authoredDec 2, 2021
build: drop Node.js 8.x from babel transpile target (#603)
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.
1 parent 477559c commit aa11485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎babel.config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"plugins": [],
44
"env": {
55
"commonjs": {
6-
"presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": "commonjs" }]]
6+
"presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": "commonjs" }]]
77
},
88
"esmBrowser": {
99
"presets": [["@babel/preset-env", { "modules": false }]]
1010
},
1111
"esmNode": {
12-
"presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": false }]]
12+
"presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": false }]]
1313
}
1414
}
1515
}

0 commit comments

Comments
 (0)
Please sign in to comment.