Skip to content

Commit 62b1d9f

Browse files
authored
fix: replace loader ID with string literal (#28)
1 parent 9c15ea7 commit 62b1d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const pluginTypedCSSModules = (): RsbuildPlugin => ({
5252
}
5353

5454
rule
55-
.use(CHAIN_ID.USE.CSS_MODULES_TS)
55+
.use('css-modules-typescript')
5656
.loader(path.resolve(__dirname, './loader.cjs'))
5757
.options({
5858
modules: cssLoaderOptions.modules,

0 commit comments

Comments
 (0)