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