mirror of https://github.com/vector-im/riot-web
Reminder to restore links + stage2, not stage 0
parent
61a543a694
commit
8e0b61ca35
2
.babelrc
2
.babelrc
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": ["react", "es2015", "es2016", "es2017", "stage-0"],
|
"presets": ["react", "es2015", "es2016", "es2017", "stage-2"],
|
||||||
"plugins": ["transform-runtime"]
|
"plugins": ["transform-runtime"]
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ exec("babel -V", function (error, stdout, stderr) {
|
||||||
'*****************************************\n'+
|
'*****************************************\n'+
|
||||||
'* vector-web has moved to babel 6 *\n'+
|
'* vector-web has moved to babel 6 *\n'+
|
||||||
'* Please "rm -rf node_modules && npm i" *\n'+
|
'* Please "rm -rf node_modules && npm i" *\n'+
|
||||||
|
'* then restore links as appropriate *\n'+
|
||||||
'*****************************************\n'+
|
'*****************************************\n'+
|
||||||
"\033[91m");
|
"\033[91m");
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
"babel-preset-es2016": "^6.16.0",
|
"babel-preset-es2016": "^6.16.0",
|
||||||
"babel-preset-es2017": "^6.16.0",
|
"babel-preset-es2017": "^6.16.0",
|
||||||
"babel-preset-react": "^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",
|
"catw": "^1.0.1",
|
||||||
"cpx": "^1.3.2",
|
"cpx": "^1.3.2",
|
||||||
"css-raw-loader": "^0.1.1",
|
"css-raw-loader": "^0.1.1",
|
||||||
|
|
Loading…
Reference in New Issue