Skip to content

Commit

Permalink
Add import key to export maps (#522)
Browse files Browse the repository at this point in the history
* Add import key to export maps

* Create friendly-rules-do.md
  • Loading branch information
JoviDeCroock committed Oct 31, 2023
1 parent f029eb4 commit d5cff74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/friendly-rules-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@prefresh/vite": patch
---

Add import key to export maps
3 changes: 2 additions & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"exports": {
".": {
"types": "./index.d.ts",
"require": "./src/index.js"
"require": "./src/index.js",
"import": "./src/index.js"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit d5cff74

Please sign in to comment.