Skip to content

Commit 955fd50

Browse files
committed
Fix npm module resolution
1 parent c61b05f commit 955fd50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/portal/runtime/npm.cljc

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
(or
5959
(fs/is-file path)
6060
(fs/is-file (str path ".js"))
61+
(fs/is-file (str path "/index.js"))
6162
(package-resolve path))))
6263
search-paths)
6364
(throw

0 commit comments

Comments
 (0)