From 0482e6a1edfc8b2c0dfb733cb424dc6a99633a7f Mon Sep 17 00:00:00 2001 From: qier222 Date: Tue, 5 Jan 2021 16:06:22 +0800 Subject: [PATCH] chore: update babel.config.js --- babel.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/babel.config.js b/babel.config.js index 162a3ea..c0fa85e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,7 @@ module.exports = { presets: ["@vue/cli-plugin-babel/preset"], + plugins: [ + "@babel/plugin-proposal-nullish-coalescing-operator", + "@babel/plugin-proposal-optional-chaining", + ], };