Reminder to restore links + stage2, not stage 0

This commit is contained in:
David Baker 2016-10-12 18:08:52 +01:00
parent e5d2ebc57c
commit 5ff915476a
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",