Skip to content

Commit 6dfa060

Browse files
pekalaJounQin
andcommitted
Resolve files with jsx extension (import-js#28)
Co-authored-by: JounQin <admin@1stg.me>
1 parent 28229bf commit 6dfa060

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const log = debug('eslint-import-resolver-ts')
1717
const extensions = ['.ts', '.tsx', '.d.ts'].concat(
1818
// eslint-disable-next-line node/no-deprecated-api
1919
Object.keys(require.extensions),
20+
'.jsx',
2021
)
2122

2223
export const interfaceVersion = 2

0 commit comments

Comments
 (0)