mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: 切分依赖
This commit is contained in:
@@ -16,4 +16,15 @@ export default defineConfig({
|
|||||||
'/api': 'http://localhost:6099',
|
'/api': 'http://localhost:6099',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
manualChunks(id) {
|
||||||
|
if (id.includes('node_modules')) {
|
||||||
|
return id.toString().split('node_modules/')[1].split('/')[0].toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
Reference in New Issue
Block a user