Reminder to restore links + stage2, not stage 0

This commit is contained in:
David Baker 2016-10-12 18:08:52 +01:00
parent 61a543a694
commit 8e0b61ca35
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{
"presets": ["react", "es2015", "es2016", "es2017", "stage-0"],
"presets": ["react", "es2015", "es2016", "es2017", "stage-2"],
"plugins": ["transform-runtime"]
}

View file

@ -16,6 +16,7 @@ exec("babel -V", function (error, stdout, stderr) {
'*****************************************\n'+
'* vector-web has moved to babel 6 *\n'+
'* Please "rm -rf node_modules && npm i" *\n'+
'* then restore links as appropriate *\n'+
'*****************************************\n'+
"\033[91m");
process.exit(1);

View file

@ -70,7 +70,7 @@
"babel-preset-es2016": "^6.16.0",
"babel-preset-es2017": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-preset-stage-2": "^6.17.0",
"catw": "^1.0.1",
"cpx": "^1.3.2",
"css-raw-loader": "^0.1.1",