This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// 导出一个对象,用于配置Babel
module.exports = {
// 使用@vue/app预设
presets: [
'@vue/app',
// 使用@babel/preset-env预设,并设置useBuiltIns为entry
[
'@babel/preset-env',
{
'useBuiltIns': 'entry'
}
]
// 如果你的项目中使用了按需加载,可以使用以下代码
// ,
// plugins: [
// // 使用import插件,配置ant-design-vue库的路径和样式
// [ 'import', {
// 'libraryName': 'ant-design-vue',
// 'libraryDirectory': 'es',
// 'style': true // `style: true` 会加载 less 文件
// } ]
// ]