Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 4, 2024
1 parent f86c9a1 commit 10150c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/react-server/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
defineConfig,
createNodeDevEnvironment,
type PluginOption,
type Plugin,
createServerModuleRunner,
Expand Down Expand Up @@ -83,6 +84,7 @@ function vitePluginReactServer(): PluginOption {
conditions: ["react-server"],
},
dev: {
createEnvironment: createNodeDevEnvironment,
optimizeDeps: {
include: [
"react",
Expand Down

0 comments on commit 10150c2

Please sign in to comment.