Skip to content

Commit

Permalink
fix: 修复core-js版本Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Nov 20, 2020
1 parent 2daa028 commit 3e1f919
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
presets: ['@vue/app'],
presets: [['@vue/app', { useBuiltIns: 'entry' }]],


plugins: [
'@babel/plugin-transform-modules-umd',
[
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"babel-eslint": "^10.0.2",
"babel-plugin-component": "^1.1.1",
"chai": "^4.2.0",
"core-js": "3.6.5",
"core-js": "2.6.5",
"cross-env": "^7.0.2",
"dayjs": "1.8.20",
"element-ui": "^2.13.2",
Expand Down

0 comments on commit 3e1f919

Please sign in to comment.