Skip to content

Commit

Permalink
🪲 (Fix error got at bun run build.) Add plugin and ./app/client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Comamoca committed Jul 9, 2024
1 parent 6989365 commit 71b3019
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions honox-minimal/app/client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createClient } from "honox/client";

createClient();
Binary file modified honox-minimal/bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions honox-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"type": "module",
"dependencies": { "hono": "^4.4.12", "honox": "^0.1.23", "vite": "^5.3.3" },
"devDependencies": {
"@hono/vite-cloudflare-pages": "^0.4.2",
"@types/bun": "latest"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion honox-minimal/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from "vite";
import pages from "@hono/vite-cloudflare-pages";
import honox from "honox/vite";

export default defineConfig({
plugins: [honox()],
plugins: [honox(), pages()],
});
7 changes: 6 additions & 1 deletion honox-minimal/yarn.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# bun ./bun.lockb --hash: 6B5129A3DC84B634-aeef44c312764de9-757D737B797128C6-eca9762b6e90a514
# bun ./bun.lockb --hash: 12B1557435A1D317-ba9e35c461be2ce0-CF17791E035F61BE-163d80ad21b8636d


"@babel/code-frame@^7.24.7":
Expand Down Expand Up @@ -274,6 +274,11 @@
resolved "https://registry.npmjs.org/@hono/node-server/-/node-server-1.12.0.tgz"
integrity sha512-e6oHjNiErRxsZRZBmc2KucuvY3btlO/XPncIpP2X75bRdTilF9GLjm3NHvKKunpJbbJJj31/FoPTksTf8djAVw==

"@hono/vite-cloudflare-pages@^0.4.2":
version "0.4.2"
resolved "https://registry.npmjs.org/@hono/vite-cloudflare-pages/-/vite-cloudflare-pages-0.4.2.tgz"
integrity sha512-fvSmWNtL7rMTa6tfj0dJNu0UStp8veb2r1BfutoKtJ6GaTzO1sR5ElQw9jIYo46oTBcx8+i/9+NzyGR56awtrQ==

"@hono/vite-dev-server@^0.12.2":
version "0.12.2"
resolved "https://registry.npmjs.org/@hono/vite-dev-server/-/vite-dev-server-0.12.2.tgz"
Expand Down

0 comments on commit 71b3019

Please sign in to comment.