From 1d3394262f2587415786750b503469e237508661 Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Thu, 4 Jan 2024 12:11:42 +0200 Subject: [PATCH] fix: fix assets not showing up (#5757) After upgrading vite https://github.com/Unleash/unleash/pull/5703, small icons are not popping up anymore. Disabling inlining assets to make it work again. ![image](https://github.com/Unleash/unleash/assets/964450/54d33a22-5eaf-4a79-ac67-34092549803d) --- frontend/vite.config.mts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/vite.config.mts b/frontend/vite.config.mts index e0c99cd5dd..7fff11db4e 100644 --- a/frontend/vite.config.mts +++ b/frontend/vite.config.mts @@ -31,6 +31,7 @@ export default mergeConfig( build: { outDir: 'build', assetsDir: 'static', + assetsInlineLimit: 0, modulePreload: false, cssCodeSplit: false, },