From f102f61b2ab9e1c76f7cf4f900eafa450d755947 Mon Sep 17 00:00:00 2001 From: nesxy Date: Mon, 18 Mar 2019 22:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=94=99=E8=AF=AF=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/main.js | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 84316ae..96423c7 100644 --- a/package.json +++ b/package.json @@ -24,10 +24,9 @@ }, "devDependencies": { "autoprefixer": "^6.7.2", - "babel-core": "^5.8.38", + "babel-core": "^6.26.0", "babel-loader": "^6.2.10", "babel-plugin-transform-runtime": "^6.22.0", - "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-stage-2": "^6.24.1", "babel-register": "^6.26.0", @@ -77,3 +76,4 @@ "not ie <= 8" ] } + diff --git a/src/main.js b/src/main.js index 9823abe..9d3f8c7 100644 --- a/src/main.js +++ b/src/main.js @@ -23,9 +23,6 @@ import "@/assets/styles/swiper.css"; //import wx from 'weixin-js-sdk' //import axios from 'axios' import "@/models/wxShare.js"; -import 'babel-polyfill'; -import promise from 'es6-promise'; -promise.polyfill(); Vue.config.productionTip = false; Vue.use(WechatPlugin);