diff --git a/vite.config.ts b/vite.config.ts index bcb01fe8..a3c5944b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,6 +9,10 @@ export default defineConfig({ resolve: { alias: { '@': path.resolve(__dirname, './src'), + + // fix loading all icon chunks in dev mode + // https://github.com/tabler/tabler-icons/issues/1233 + '@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs', }, }, })