weilaizhixing_official_website/babel.config.js
sunshaohua 78f9bdbf7f init
2024-10-21 15:59:15 +08:00

19 lines
282 B
JavaScript

const plugins = ['@babel/plugin-proposal-optional-chaining'];
plugins.push([
'import',
{
libraryName: 'ant-design-vue',
libraryDirectory: 'es',
style: 'css',
},
'antd',
]);
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
],
plugins,
};