pref: Optimize client imports (#9506)
* pref: Optimize client imports * split api? * fix * ✌️ * no vue split? * Revert "no vue split?" This reverts commit27ccec971e
. * function => const * ✌️ * Revert "function => const" This reverts commit34f2feb224
. * function api
This commit is contained in:
@@ -97,6 +97,7 @@ export default defineConfig(({ command, mode }) => {
|
||||
output: {
|
||||
manualChunks: {
|
||||
vue: ['vue'],
|
||||
photoswipe: ['photoswipe', 'photoswipe/lightbox', 'photoswipe/style.css'],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user