Skip to content

Commit

Permalink
Merge pull request #309 from Brendonovich/module-resolution-bundler
Browse files Browse the repository at this point in the history
Add ./dist/types exports to package.json
  • Loading branch information
nksaraf authored Jun 17, 2024
2 parents 9b490b7 + dc786b2 commit 2189bd3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spicy-apples-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": patch
---

Add ./dist/types exports to package.json
6 changes: 6 additions & 0 deletions packages/vinxi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"import": "./lib/dev-server.js",
"types": "./dist/types/lib/dev-server.d.ts"
},
"./dist/types/*": {
"types": "./dist/types/*.d.ts"
},
"./stack": {
"import": "./stack/index.js"
},
Expand Down Expand Up @@ -114,6 +117,9 @@
"dev-server": [
"./dist/types/lib/dev-server.d.ts"
],
"dist/types/*": [
"./dist/types/*.d.ts"
],
"server": [
"./runtime/server-types.d.ts"
],
Expand Down

0 comments on commit 2189bd3

Please sign in to comment.