Skip to content

Commit

Permalink
Fix type @prefresh/vite type resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Oct 31, 2023
1 parent 527c02a commit 3a23837
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thirty-apples-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@prefresh/vite': patch
---

Fix type type resolution for `type: "module"` projects
5 changes: 4 additions & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"main": "src/index.js",
"types": "index.d.ts",
"exports": {
".": "./src/index.js",
".": {
"types": "./index.d.ts",
"require": "./src/index.js"
},
"./package.json": "./package.json"
},
"modes": {
Expand Down

0 comments on commit 3a23837

Please sign in to comment.