Skip to content

Commit

Permalink
chore(react-server-dom-vite): add client.optimizeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Dec 19, 2024
1 parent 161b4a5 commit 77ac15e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions react-server-dom-vite-example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ export default defineConfig({
appType: "custom",
environments: {
client: {
optimizeDeps: {
include: [
"react-dom/client",
"@jacob-ebey/react-server-dom-vite/client",
],
},
build: {
manifest: true,
outDir: "dist/client",
Expand Down

0 comments on commit 77ac15e

Please sign in to comment.