|
|
@@ -82,20 +82,10 @@ export default defineConfig({
|
|
|
camel2DashComponentName: false
|
|
|
},
|
|
|
'@icon-park/react'
|
|
|
- ],
|
|
|
- [
|
|
|
- 'import',
|
|
|
- {
|
|
|
- libraryName: 'antd',
|
|
|
- libraryDirectory: 'es',
|
|
|
- style: 'less'
|
|
|
- }
|
|
|
]
|
|
|
],
|
|
|
chainWebpack(config, { env }) {
|
|
|
config.plugin('windicss').use('windicss-webpack-plugin')
|
|
|
- // config.plugin('moment2dayjs').use('antd-dayjs-webpack-plugin')
|
|
|
-
|
|
|
if (env === 'production') {
|
|
|
config.merge({
|
|
|
optimization: {
|