From 57695266361365b7a50e628b8e998ac8e8c2492e Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Tue, 3 Jun 2025 13:23:55 +0200 Subject: [PATCH] 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. --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index 8f9949d7b1..90f8daea32 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -157,6 +157,7 @@ export default { minify: true, css: true, legalComments: 'none', + exclude: [new RegExp(`css\\/(${Object.keys(themes).join('|')})\\.css$`)], }), ], splitChunks: {