Skip to content

Commit

Permalink
refactor: Reduce subpath exports
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Apr 11, 2024
1 parent 1337db0 commit 15c80c9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"types": "src/index.d.ts",
"exports": {
".": "./src/index.js",
"./router": "./src/router.js",
"./lazy": "./src/lazy.js",
"./prerender": "./src/prerender.js",
"./hydrate": "./src/hydrate.js"
"./package.json": "./package.json"
},
"license": "MIT",
"description": "Isomorphic utilities for Preact",
Expand Down Expand Up @@ -41,6 +39,11 @@
"preact": ">=10",
"preact-render-to-string": ">=6.4.0"
},
"peerDependenciesMeta": {
"preact-render-to-string": {
"optional": true
}
},
"devDependencies": {
"htm": "^3.1.1",
"jest": "^29.7.0",
Expand Down

0 comments on commit 15c80c9

Please sign in to comment.