Compare commits
11 Commits
master
...
zq-nodeTes
Author | SHA1 | Date |
---|---|---|
![]() |
3c20f977a7 | 3 weeks ago |
![]() |
50d6ded774 | 3 weeks ago |
![]() |
6cf38d52ec | 3 weeks ago |
![]() |
19a80d9275 | 1 month ago |
![]() |
08b0e48b96 | 1 month ago |
![]() |
fff7c94c72 | 1 month ago |
![]() |
33d06cad7d | 1 month ago |
![]() |
e33c063bd1 | 1 month ago |
![]() |
d53dff48bc | 2 months ago |
![]() |
760cc26965 | 2 months ago |
![]() |
3dce6a103c | 2 months ago |
17 changed files with 5956 additions and 10096 deletions
@ -1,25 +1,20 @@ |
|||
module.exports = { |
|||
presets: [ |
|||
'@vue/cli-plugin-babel/preset', |
|||
[ |
|||
'@babel/preset-env', |
|||
{ |
|||
useBuiltIns: 'usage', // 按需引入polyfill
|
|||
corejs: 3, // 指定core-js版本
|
|||
targets: { |
|||
// 指定需要兼容的浏览器版本
|
|||
ie: '10', |
|||
chrome: '58', |
|||
firefox: '60', |
|||
safari: '11', |
|||
edge: '16', |
|||
}, |
|||
}, |
|||
], |
|||
['@vue/cli-plugin-babel/preset', { |
|||
useBuiltIns: 'usage', |
|||
corejs: 3, |
|||
targets: { |
|||
ie: '10', |
|||
chrome: '58', |
|||
firefox: '60', |
|||
safari: '11', |
|||
edge: '16' |
|||
} |
|||
}] |
|||
], |
|||
plugins: [ |
|||
// 可以添加其他Babel插件
|
|||
'@babel/plugin-proposal-class-properties', |
|||
'@babel/plugin-proposal-optional-chaining', |
|||
'@babel/plugin-transform-runtime' |
|||
], |
|||
}; |
|||
] |
|||
} |
|||
|
File diff suppressed because it is too large
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 14 KiB |
Loading…
Reference in new issue