mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: 切分依赖
This commit is contained in:
parent
41a346e1cf
commit
e80ed3b33e
@ -16,4 +16,15 @@ export default defineConfig({
|
||||
'/api': 'http://localhost:6099',
|
||||
},
|
||||
},
|
||||
});
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.includes('node_modules')) {
|
||||
return id.toString().split('node_modules/')[1].split('/')[0].toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user