Skip to content

Commit 06125aa

Browse files
committed
feat: support cts & mts
1 parent e2064a6 commit 06125aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const isTS = (id: string): boolean => /\.tsx?$/.test(id)
1+
export const isTS = (id: string): boolean => /\.[cm]?tsx?$/.test(id)

0 commit comments

Comments
 (0)