From 2e310e79bf9ac4a0b61bdfbbcfffba8cd986eb89 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 7729035972..9260399396 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: {