Skip to content

Commit

Permalink
chore(react-ssr-workerd): add kvPersist
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 10, 2024
1 parent 3de66bf commit b379ceb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
dist
.vercel
.wrangler
.mf
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
dist
.vercel
.wrangler
.mf
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Experimenting with [Vite Environment API](https://github.com/vitejs/vite/pull/16
```sh
pnpm i
pnpm -C examples/react-ssr dev
pnpm -C examples/react-ssr-workerd dev
pnpm -C examples/react-server dev
```
1 change: 1 addition & 0 deletions examples/react-ssr-workerd/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineConfig((_env) => ({
entry: "/src/adapters/workerd.ts",
miniflare: {
log: new Log(),
kvPersist: true,
},
wrangler: {
configPath: "./wrangler.toml",
Expand Down

0 comments on commit b379ceb

Please sign in to comment.