File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
packages/react-router-hono Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @pizzajsdev/react-router-hono ' : patch
3+ ---
4+
5+ fix exports
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ pnpm add @pizzajsdev/react-router-hono hono @hono/node-server
1717
1818``` ts
1919import type { Config } from ' @react-router/dev/config'
20- import { createAutomaticPreset } from ' @pizzajsdev/react-router-hono/presets'
20+ import { createAutomaticPreset } from ' @pizzajsdev/react-router-hono/presets/auto '
2121
2222export default {
23+ // Automatically creates a React Router preset based on the environment. If it detects that it is running in Vercel,
24+ // it will use the Vercel preset, otherwise it will use the Node preset.
2325 presets: [createAutomaticPreset ()],
2426} satisfies Config
2527```
Original file line number Diff line number Diff line change 1414 "sideEffects" : false ,
1515 "type" : " module" ,
1616 "exports" : {
17- "./presets" : {
18- "import" : {
19- "types" : " ./dist/presets/index.d.ts" ,
20- "default" : " ./dist/presets/index.js"
21- }
22- },
2317 "./*" : {
2418 "import" : {
2519 "types" : " ./dist/*.d.ts" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments