@@ -1,12 +1,6 @@
+const plugins = [];
+
module.exports = {
- presets: [["@babel/preset-env", { "modules": false}]],
- "plugins": [
- [
- "component",
- {
- "libraryName": "element-ui",
- "styleLibraryName": "theme-chalk"
- }
- ]
-}
+ presets: [["@vue/app", { useBuiltIns: "entry" }]],
+ plugins: plugins
+};
@@ -3,6 +3,10 @@ import App from './App.vue'
import router from './router'
import store from './store'
+import 'core-js/stable';
+import 'regenerator-runtime/runtime';
+// import "babel-polyfill"; // 解决IE内核浏览器问题
// ElementUI
import '@tools/elUI'