From 66f405ed9f2925c4de9775cf1e76fcec27962805 Mon Sep 17 00:00:00 2001 From: wanlei Date: Fri, 27 Oct 2017 15:15:42 +0800 Subject: [PATCH] update: [Test] build --- .babelrc | 2 -- package.json | 3 +-- test/index.js | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.babelrc b/.babelrc index b30bba26a..17e739933 100644 --- a/.babelrc +++ b/.babelrc @@ -2,8 +2,6 @@ "presets": ["env"], "plugins": [ "transform-vue-jsx", - "transform-es2015-destructuring", - "transform-es2015-parameters", "transform-object-rest-spread" ] } diff --git a/package.json b/package.json index fb59e8dae..aa4cff6eb 100644 --- a/package.json +++ b/package.json @@ -32,10 +32,9 @@ "babel-loader": "^7.1.2", "babel-plugin-istanbul": "^4.1.1", "babel-plugin-syntax-jsx": "^6.18.0", - "babel-plugin-transform-es2015-destructuring": "^6.23.0", - "babel-plugin-transform-es2015-parameters": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-vue-jsx": "^3.5.0", + "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.0", "chai": "^4.1.2", "css-loader": "^0.28.7", diff --git a/test/index.js b/test/index.js index 26d0ce27a..72af3af11 100644 --- a/test/index.js +++ b/test/index.js @@ -1,3 +1,4 @@ +import 'babel-polyfill' import Vue from 'vue' Vue.config.productionTip = false