diff --git a/.changeset/wild-countries-tan.md b/.changeset/wild-countries-tan.md new file mode 100644 index 0000000..b6d432c --- /dev/null +++ b/.changeset/wild-countries-tan.md @@ -0,0 +1,5 @@ +--- +'@hono/vite-dev-server': patch +--- + +(fix) missing export for initial node, bun adapter in the package.json from the previous version diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index 32e75f4..d82361e 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -33,6 +33,16 @@ "types": "./dist/adapter/cloudflare.d.ts", "require": "./dist/adapter/cloudflare.cjs", "import": "./dist/adapter/cloudflare.js" + }, + "./node": { + "types": "./dist/adapter/node.d.ts", + "require": "./dist/adapter/node.cjs", + "import": "./dist/adapter/node.js" + }, + "./bun": { + "types": "./dist/adapter/bun.d.ts", + "require": "./dist/adapter/bun.cjs", + "import": "./dist/adapter/bun.js" } }, "typesVersions": { @@ -42,6 +52,12 @@ ], "cloudflare": [ "./dist/adapter/cloudflare.d.ts" + ], + "node": [ + "./dist/adapter/node.d.ts" + ], + "bun": [ + "./dist/adapter/bun.d.ts" ] } }, @@ -92,4 +108,4 @@ "@hono/node-server": "^1.12.0", "minimatch": "^9.0.3" } -} +} \ No newline at end of file