Skip to content

Commit

Permalink
fix(exports): resolve imports with explicit *.js extension
Browse files Browse the repository at this point in the history
Fixes #1925
  • Loading branch information
metonym committed Mar 7, 2024
1 parent 96aef17 commit d01ff6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"types": "./types/*.svelte.d.ts",
"import": "./src/*.svelte"
},
"./src/*.js": {
"types": "./types/*.d.ts",
"import": "./src/*.js"
},
"./src/*": {
"types": "./types/*.d.ts",
"import": "./src/*.js"
Expand Down

0 comments on commit d01ff6f

Please sign in to comment.