You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot-online-exam/frontend/babel.config.js

25 lines
625 B

This file contains ambiguous Unicode characters!

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 文件
// } ]
// ]
}