From 8e0b61ca35c8f9662bc38da0c6c7ecac3f557b53 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 12 Oct 2016 18:08:52 +0100 Subject: [PATCH] Reminder to restore links + stage2, not stage 0 --- .babelrc | 2 +- babelcheck.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.babelrc b/.babelrc index 841d22c2b4..c30cbe08cb 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,4 @@ { - "presets": ["react", "es2015", "es2016", "es2017", "stage-0"], + "presets": ["react", "es2015", "es2016", "es2017", "stage-2"], "plugins": ["transform-runtime"] } diff --git a/babelcheck.js b/babelcheck.js index 2148d20747..46098e0979 100644 --- a/babelcheck.js +++ b/babelcheck.js @@ -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); diff --git a/package.json b/package.json index ac93874199..e2d954997a 100644 --- a/package.json +++ b/package.json @@ -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",