mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2025-01-03 03:10:04 -05:00
Make page sizes smaller
This commit is contained in:
parent
a9365de22b
commit
d60ed432ce
1 changed files with 1 additions and 9 deletions
|
@ -19,15 +19,7 @@ export default defineConfig({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
cssCodeSplit: true
|
||||||
output: {
|
|
||||||
manualChunks(id) {
|
|
||||||
if (id.includes('node_modules')) {
|
|
||||||
return id.toString().split('node_modules/')[1].split('/')[0].toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
envPrefix: 'SAFETWITCH_',
|
envPrefix: 'SAFETWITCH_',
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue