We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 683f9f3 commit 2267265Copy full SHA for 2267265
src/babel/helpers.ts
@@ -30,8 +30,8 @@ function getFilesWithoutExtension(dirPath: string) {
30
const files = entries.filter(
31
(entry) =>
32
entry.isFile() &&
33
- /\.[jt]sx$/.exec(entry.name) &&
34
- !/index\.[jt]sx$/.exec(entry.name),
+ /\.[jt]sx?$/.exec(entry.name) &&
+ !/index\.[jt]sx?$/.exec(entry.name),
35
);
36
37
// For each file, get the filename without extension
0 commit comments