diff --git a/babel.config.js b/babel.config.js index 086c4e5d20..6eca3d188b 100644 --- a/babel.config.js +++ b/babel.config.js @@ -24,7 +24,7 @@ module.exports = function(api) { case "production": // Config during builds before publish. envOpts.targets = { - node: 6, + node: "6.9", }; break; case "development": diff --git a/package.json b/package.json index b01c651c6c..2858ee66aa 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "webpack-stream": "^4.0.0" }, "engines": { - "node": ">= 6.x <= 9.x", + "node": ">= 6.9.0 <= 11.0.0-0", "npm": ">= 2.x <= 5.x", "yarn": ">=0.27.5 || >=1.0.0-20170811" }, diff --git a/packages/babel-core/package.json b/packages/babel-core/package.json index 10b801eb1b..f4b7e5a7d1 100644 --- a/packages/babel-core/package.json +++ b/packages/babel-core/package.json @@ -22,6 +22,9 @@ "babel-core", "compiler" ], + "engines": { + "node": ">=6.9.0 < 11.0.0-0" + }, "browser": { "./lib/config/files/index.js": "./lib/config/files/index-browser.js", "./lib/transform-file.js": "./lib/transform-file-browser.js",