We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7d816 commit 67a07bdCopy full SHA for 67a07bd
src/index.ts
@@ -75,6 +75,8 @@ async function jsOrTs(filename: string) {
75
? '.ts'
76
: (await isFile(resolveApp(filename + '.tsx')))
77
? '.tsx'
78
+ : (await isFile(resolveApp(filename + '.jsx')))
79
+ ? '.jsx'
80
: '.js';
81
82
return resolveApp(`${filename}${extension}`);
0 commit comments