提交 ca00c358 authored 作者: 王鹏飞's avatar 王鹏飞

update babel 配置

上级 543d0569
...@@ -84,10 +84,8 @@ $GLOBAL.BaseConfig = { ...@@ -84,10 +84,8 @@ $GLOBAL.BaseConfig = {
'@babel/preset-env', '@babel/preset-env',
{ {
"targets": { "targets": {
"browsers": [ "chrome": "58",
"last 2 versions", "ie": "11"
"ie >= 11"
],
}, },
corejs: '3.6.5', corejs: '3.6.5',
useBuiltIns: 'usage' useBuiltIns: 'usage'
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^8.1.0", "babel-loader": "^8.1.0",
"babel-polyfill": "^6.26.0",
"clean-webpack-plugin": "^1.0.1", "clean-webpack-plugin": "^1.0.1",
"copy-webpack-plugin": "^5.1.2", "copy-webpack-plugin": "^5.1.2",
"css-loader": "^4.3.0", "css-loader": "^4.3.0",
......
...@@ -10,7 +10,6 @@ import Modules from '@/modules' ...@@ -10,7 +10,6 @@ import Modules from '@/modules'
import createBefore from './components/beforeEnter' import createBefore from './components/beforeEnter'
import _ from 'lodash' import _ from 'lodash'
import VueMeta from 'vue-meta' import VueMeta from 'vue-meta'
import 'babel-polyfill'
Vue.use(VueMeta) Vue.use(VueMeta)
Vue.prototype.$_ = _ Vue.prototype.$_ = _
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论