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);