forked from wangziqi/gongxue-base
chore: remove dead code and tune frontend chunks
Remove unused production symbols, starter assets, and stale browser tooling; reduce frontend chunk fragmentation.
This commit is contained in:
@@ -18,13 +18,13 @@ export default defineConfig({
|
||||
name: 'echarts',
|
||||
test: /node_modules[\\/](echarts|zrender)[\\/]/,
|
||||
priority: 20,
|
||||
maxSize: 300_000,
|
||||
maxSize: 600_000,
|
||||
},
|
||||
{
|
||||
name: 'antd',
|
||||
test: /node_modules[\\/](@ant-design|antd|rc-[^\\/]+)[\\/]/,
|
||||
priority: 10,
|
||||
maxSize: 300_000,
|
||||
maxSize: 600_000,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user