mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-21 21:28:18 +08:00
refactor(babel): use corejs
This commit is contained in:
parent
ebd863f5b6
commit
e6abbe244b
|
@ -1,7 +1,11 @@
|
|||
module.exports = {
|
||||
presets: ["@vue/cli-plugin-babel/preset"],
|
||||
plugins: [
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator",
|
||||
"@babel/plugin-proposal-optional-chaining",
|
||||
presets: [
|
||||
[
|
||||
'@vue/cli-plugin-babel/preset',
|
||||
{
|
||||
useBuiltIns: 'usage',
|
||||
shippedProposals: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user