Skip to content

Commit 6d2de94

Browse files
committed
fixup! chore(linter): fix import resolver to support "exports" maps
1 parent 89ec729 commit 6d2de94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export default [
5252
pkg.exports?.[`./${relativePath}`] ??
5353
pkg.exports?.['.']?.import?.default ??
5454
pkg.exports?.['.']?.import ??
55+
pkg.exports?.['.']?.[0]?.import ??
5556
pkg.exports?.['.']?.default ??
5657
pkg.exports?.['.'] ??
5758
(relativePath || pkg.main);

0 commit comments

Comments
 (0)