Skip to content

Commit

Permalink
feat: adds main entry to packages package.json
Browse files Browse the repository at this point in the history
closes: #423
  • Loading branch information
mjfwebb committed Mar 4, 2024
1 parent 3fb98e5 commit 77c8258
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/wouter-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"types/**/*.d.ts",
"types/*.d.ts"
],
"main": "esm/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -73,4 +74,4 @@
"devDependencies": {
"wouter": "*"
}
}
}
3 changes: 2 additions & 1 deletion packages/wouter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"types/**/*.d.ts",
"types/*.d.ts"
],
"main": "esm/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -71,4 +72,4 @@
"regexparam": "^3.0.0",
"use-sync-external-store": "^1.0.0"
}
}
}

0 comments on commit 77c8258

Please sign in to comment.