Skip to content

Commit 32dec72

Browse files
committed
chore: add ie polyfills
1 parent 8030d1c commit 32dec72

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

babel.config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
module.exports = {
22
presets: [
3-
'@vue/app'
3+
['@vue/app', {
4+
polyfills: [
5+
'es6.array.find',
6+
'es6.array.from',
7+
'es6.symbol'
8+
]
9+
}],
10+
["@babel/preset-env", {
11+
"useBuiltIns": "entry"
12+
}]
413
]
5-
}
14+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"test:e2e": "vue-cli-service test:e2e"
1919
},
2020
"dependencies": {
21+
"@babel/polyfill": "^7.4.4",
2122
"@coreui/coreui": "^2.1.12",
2223
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
2324
"@coreui/icons": "0.3.0",

0 commit comments

Comments
 (0)