Limit node version to current LTS.
This commit is contained in:
parent
f03adbadf4
commit
a192f8beb4
@ -24,7 +24,7 @@ module.exports = function(api) {
|
|||||||
case "production":
|
case "production":
|
||||||
// Config during builds before publish.
|
// Config during builds before publish.
|
||||||
envOpts.targets = {
|
envOpts.targets = {
|
||||||
node: 6,
|
node: "6.9",
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case "development":
|
case "development":
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
"webpack-stream": "^4.0.0"
|
"webpack-stream": "^4.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 6.x <= 9.x",
|
"node": ">= 6.9.0 <= 11.0.0-0",
|
||||||
"npm": ">= 2.x <= 5.x",
|
"npm": ">= 2.x <= 5.x",
|
||||||
"yarn": ">=0.27.5 || >=1.0.0-20170811"
|
"yarn": ">=0.27.5 || >=1.0.0-20170811"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -22,6 +22,9 @@
|
|||||||
"babel-core",
|
"babel-core",
|
||||||
"compiler"
|
"compiler"
|
||||||
],
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=6.9.0 < 11.0.0-0"
|
||||||
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"./lib/config/files/index.js": "./lib/config/files/index-browser.js",
|
"./lib/config/files/index.js": "./lib/config/files/index-browser.js",
|
||||||
"./lib/transform-file.js": "./lib/transform-file-browser.js",
|
"./lib/transform-file.js": "./lib/transform-file-browser.js",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user