浏览代码

feat: antd 样式异常

lanjianrong 4 年之前
父节点
当前提交
8b4b97009d
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      config/config.js

+ 0 - 10
config/config.js

@@ -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: {