Browse Source

update babel

Davide Alberani 6 years ago
parent
commit
c2fe85f771
2 changed files with 2 additions and 7 deletions
  1. 1 1
      .babelrc
  2. 1 6
      package.json

+ 1 - 1
.babelrc

@@ -1,5 +1,5 @@
 {
-  "presets": ["es2015", "stage-2"],
+  "presets": ["env"],
   "plugins": ["transform-runtime"],
   "comments": false
 }

+ 1 - 6
package.json

@@ -35,13 +35,8 @@
   },
   "devDependencies": {
     "autoprefixer": "^6.7.7",
-    "babel-core": "^6.24.0",
-    "babel-loader": "^6.4.0",
-    "babel-plugin-transform-runtime": "^6.23.0",
+    "babel-cli": "^6.26.0",
     "babel-preset-env": "^1.6.0",
-    "babel-preset-es2015": "^6.24.1",
-    "babel-preset-stage-2": "^6.24.1",
-    "babel-register": "^6.24.0",
     "chalk": "^1.1.3",
     "connect-history-api-fallback": "^1.3.0",
     "copy-webpack-plugin": "^4.0.1",