web config

This commit is contained in:
Wang Kejun 2023-01-30 18:01:16 +08:00
parent 224f60d385
commit e73fe1951d
1 changed files with 24 additions and 0 deletions

View File

@ -336,6 +336,30 @@ module.exports = function (webpackEnv) {
priority: 30, priority: 30,
reuseExistingChunk: true, reuseExistingChunk: true,
}, },
icon_park: {
name: 'icon_park',
test: /@icon-park\/react/,
priority: 20,
reuseExistingChunk: true,
},
antd_mobile: {
name: 'antd_mobile',
test: /antd-mobile/,
priority: 20,
reuseExistingChunk: true,
},
antdesign: {
name: 'antdesign',
test: /antd/,
priority: 20,
reuseExistingChunk: true,
},
antdesign_icons: {
name: 'antdesign_icons',
test: /@ant-design\/icons/,
priority: 20,
reuseExistingChunk: true,
},
vendor: { vendor: {
name: 'vendor', name: 'vendor',
test: /node_modules/, test: /node_modules/,