ui_migration refactor(build) reduce chuncking size
This commit is contained in:
parent
964a907edc
commit
b2d31f6172
14 changed files with 483 additions and 458 deletions
|
|
@ -16,6 +16,17 @@ export default defineConfig({
|
|||
outDir: "../src/openflexure_microscope_server/static",
|
||||
// Clear output directory before build
|
||||
emptyOutDir: true,
|
||||
chunkSizeWarningLimit: 400,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
"vue-vendor": ["vue", "pinia", "pinia-plugin-persistedstate"],
|
||||
openseadragon: ["openseadragon"],
|
||||
uikit: ["uikit"],
|
||||
utils: ["axios", "mitt", "mousetrap", "@vueuse/core"],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
resolve: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue