Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 660a4ed

Browse files
committed
feat(compiler): Added css.tsx extension
1 parent 1fa9cbb commit 660a4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import { rootBuildIn } from '../../src/core/method/root-build-in-helper';
1818
} else {
1919
appRoot = path.join(process.cwd(), '../../');
2020
}
21-
const csstsPattern = path.join(appRoot, '**/*.css.ts');
22-
const files = await fg([csstsPattern]);
21+
const csstsPattern = [path.join(appRoot, '**/*.css.ts'), path.join(appRoot, '**/*.css.tsx')];
22+
const files = await fg(csstsPattern);
2323
console.log('\n💬 The following CSS caches were accepted:\n');
2424
for (const file of files) {
2525
const filePath = path.resolve(file);

0 commit comments

Comments
 (0)