Skip to content

Commit 3222e3a

Browse files
authored
improve jest css transformer
1 parent f30d6c4 commit 3222e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
},
4040
],
4141
"\\.css$": path.resolve(__dirname, "transform", "css.js"),
42-
"^(?!.*\\.(ts|js|jsx|tsx|css))": path.resolve(__dirname, "transform", "file.js"),
42+
"^(?!.*\\.(ts|js|jsx|tsx))": path.resolve(__dirname, "transform", "file.js"),
4343
},
4444
cacheDirectory: "<rootDir>/node_modules/@lastui/rocker/jest/.jest-cache",
4545
transformIgnorePatterns: [...node_modules, "<rootDir>/build/", "<rootDir>/static/"],

0 commit comments

Comments
 (0)