Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit 933a835

Browse files
committed
fix: typo
1 parent aac6a32 commit 933a835

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function cssModules(): PreprocessorGroup {
2121
);
2222

2323
/* find css/scss module imports */
24-
const cssModuleImpots
24+
const cssModuleImports
2525
= await getCssModuleImports({
2626
imports,
2727
aliases,
@@ -30,7 +30,7 @@ export function cssModules(): PreprocessorGroup {
3030

3131
/* transform css/scss modules */
3232
const cssModules = [];
33-
for (const cmi of cssModuleImpots) {
33+
for (const cmi of cssModuleImports) {
3434
const cssModule = await getCssModule(cmi);
3535
cssModules.push(cssModule);
3636

@@ -43,6 +43,8 @@ export function cssModules(): PreprocessorGroup {
4343
cssModuleCache.set(filename, cssModules);
4444
}
4545

46+
console.log(cssModules);
47+
4648
return {
4749
code: s.toString(),
4850
map: s.generateMap({

0 commit comments

Comments
 (0)