From 919f3bdf9a2fe19e6949aba7bc36e69901deba11 Mon Sep 17 00:00:00 2001 From: fonghehe <331002675@qq.com> Date: Tue, 11 Nov 2025 17:24:54 +0800 Subject: [PATCH] fix(idux-resolver): update style path to index.css to correctly load styles in 2.0 --- src/core/resolvers/idux.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/resolvers/idux.ts b/src/core/resolvers/idux.ts index 55153706..7f3c2ffb 100644 --- a/src/core/resolvers/idux.ts +++ b/src/core/resolvers/idux.ts @@ -117,7 +117,7 @@ function getSideEffects(version: string, path: string, importStyle?: 'css' | 'le const styleRoot = `${path}/style` const themeRoot = `${path}/theme` - const styleImport = `${styleRoot}/${importStyle === 'css' ? 'index_css' : 'index'}` + const styleImport = `${styleRoot}/${importStyle === 'css' ? 'index.css' : 'index'}` if (!resolveModule(styleImport)) return