File tree 5 files changed +22
-3
lines changed
5 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
presets : [
3
- '@vue/app'
3
+ '@vue/app' ,
4
+ [
5
+ '@babel/preset-env' ,
6
+ {
7
+ 'useBuiltIns' : 'entry'
8
+ }
9
+ ]
4
10
]
11
+ // if your use import on Demand, Use this code
5
12
// ,
6
13
// plugins: [
7
14
// [ 'import', {
Original file line number Diff line number Diff line change 29
29
"vuex" : " ^3.1.0"
30
30
},
31
31
"devDependencies" : {
32
+ "@babel/polyfill" : " ^7.2.5" ,
32
33
"@vue/cli-plugin-babel" : " ^3.3.0" ,
33
34
"@vue/cli-plugin-eslint" : " ^3.3.0" ,
34
35
"@vue/cli-plugin-unit-jest" : " ^3.3.0" ,
116
117
"browserslist" : [
117
118
" > 1%" ,
118
119
" last 2 versions" ,
119
- " not ie <= 8 "
120
+ " not ie <= 10 "
120
121
]
121
122
}
Original file line number Diff line number Diff line change
1
+ import '@babel/polyfill'
1
2
import Vue from 'vue'
2
3
import App from './App.vue'
3
4
import router from './router'
Original file line number Diff line number Diff line change @@ -104,5 +104,7 @@ module.exports = {
104
104
}
105
105
} ,
106
106
107
- lintOnSave : undefined
107
+ lintOnSave : undefined ,
108
+ // babel-loader no-ignore node_modules/*
109
+ transpileDependencies : [ ]
108
110
}
Original file line number Diff line number Diff line change 701
701
" @babel/helper-regex" " ^7.0.0"
702
702
regexpu-core "^4.1.3"
703
703
704
+ " @babel/polyfill@^7.2.5 " :
705
+ version "7.2.5"
706
+ resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.2.5.tgz#6c54b964f71ad27edddc567d065e57e87ed7fa7d"
707
+ integrity sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==
708
+ dependencies :
709
+ core-js "^2.5.7"
710
+ regenerator-runtime "^0.12.0"
711
+
704
712
" @babel/preset-env@^7.0.0" , "@babel/preset-env@^7.1.0":
705
713
version "7.3.4"
706
714
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.3.4.tgz#887cf38b6d23c82f19b5135298bdb160062e33e1"
You canβt perform that action at this time.
0 commit comments