|
|
@@ -11,7 +11,7 @@ export default defineConfig({
|
|
|
plugins: [require.resolve('@umijs/plugins/dist/unocss')],
|
|
|
npmClient: 'pnpm',
|
|
|
hash: true,
|
|
|
- antd: { import: true },
|
|
|
+ antd: {},
|
|
|
model: {},
|
|
|
moment2dayjs: {},
|
|
|
request: {},
|
|
|
@@ -49,6 +49,15 @@ export default defineConfig({
|
|
|
camel2DashComponentName: false
|
|
|
},
|
|
|
'@icon-park/react'
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ 'import',
|
|
|
+ {
|
|
|
+ libraryName: 'antd',
|
|
|
+ libraryDirectory: 'es',
|
|
|
+ style: 'less'
|
|
|
+ },
|
|
|
+ 'antd'
|
|
|
]
|
|
|
],
|
|
|
externals: {
|