|
@@ -76,7 +76,18 @@ export default defineConfig({
|
|
|
libraryName: '@icon-park/react',
|
|
libraryName: '@icon-park/react',
|
|
|
libraryDirectory: 'es/icons',
|
|
libraryDirectory: 'es/icons',
|
|
|
camel2DashComponentName: false
|
|
camel2DashComponentName: false
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ '@icon-park/react'
|
|
|
|
|
+ ],
|
|
|
|
|
+ [
|
|
|
|
|
+ 'import',
|
|
|
|
|
+ {
|
|
|
|
|
+ libraryName: '@arco-design/web-react',
|
|
|
|
|
+ libraryDirectory: 'es',
|
|
|
|
|
+ camel2DashComponentName: false,
|
|
|
|
|
+ style: true // 样式按需加载
|
|
|
|
|
+ },
|
|
|
|
|
+ '@arco-design/web-react'
|
|
|
]
|
|
]
|
|
|
],
|
|
],
|
|
|
chainWebpack(config) {
|
|
chainWebpack(config) {
|