0
Fork 0
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:
dragongoose 2023-06-13 16:01:06 -04:00
parent a9365de22b
commit d60ed432ce
No known key found for this signature in database
GPG key ID: 50DB99B921579009

View file

@ -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_',
}) })