1234567891011121314151617181920 |
- module.exports = {
- presets: [
- "@vue/app",
- // 兼容配置
- [
- "@babel/preset-env",
- {
- useBuiltIns: "entry"
- }
- ]
- ],
- // 按需加载
- plugins: [
- "@babel/plugin-proposal-class-properties",
- [
- "import",
- { libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
- ]
- ]
- };
|