From 1858ab682246c5dc16cd6ddb7a89ae715120a0c6 Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Fri, 3 Feb 2023 02:01:16 +0000 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90babel=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- babel.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..4b4cf3e --- /dev/null +++ b/babel.config.js @@ -0,0 +1,10 @@ +module.exports = { + presets: ['@vue/babel-preset-jsx'], + plugins: [ + [ + 'component', + { libraryName: 'element-ui', styleLibraryName: 'theme-chalk' } + ], + '@babel/plugin-proposal-optional-chaining' + ] +} -- Gitee