Skip to content

Commit ee54558

Browse files
committed
🔧 chore(vite.config.ts): remove commented code and unused chunk configuration for improved clarity and maintainability.
1 parent 9a53162 commit ee54558

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

vite.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export default defineConfig(({ mode }) => {
6868
rolldownOptions: {
6969
output: {
7070
minify: true,
71-
// 使用更安全的文件命名,不暴露库名
7271
chunkFileNames: 'static/js/[hash].js',
7372
entryFileNames: 'static/js/[hash].js',
7473
// 按文件类型进行拆分文件夹
@@ -96,10 +95,6 @@ export default defineConfig(({ mode }) => {
9695
name: 'lib-chart',
9796
test: /node_modules[\\/]echarts/,
9897
},
99-
{
100-
name: 'lib-antd',
101-
test: /node_modules[\\/]antd/,
102-
},
10398
{
10499
name: 'lib-antd-icons',
105100
test: /node_modules[\\/]@ant-design\/icons/,

0 commit comments

Comments
 (0)