Disable webpack optimization for themes

Sorry. If you want to, you can handle that with your reverse proxy. But I don't believe it will cause much problems, as theme .csses should be already cached by the browser.
This commit is contained in:
Minecon724 2025-06-03 13:23:55 +02:00
commit 2e310e79bf
Signed by: Minecon724
GPG key ID: A02E6E67AB961189

View file

@ -157,6 +157,7 @@ export default {
minify: true,
css: true,
legalComments: 'none',
exclude: [new RegExp(`css\\/(${Object.keys(themes).join('|')})\\.css$`)],
}),
],
splitChunks: {