Skip to content

Commit

Permalink
chore: vite 5 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Nov 21, 2023
1 parent db21b69 commit 8cb864d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite-runtime-error-overlay/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export function viteRuntimeErrorOverlayPlugin(): Plugin {
return {
name: packageName,

apply(_config, env) {
return env.command === "serve" && !env.ssrBuild;
apply(config, env) {
return env.command === "serve" && !config.ssr;
},

transformIndexHtml() {
Expand Down

0 comments on commit 8cb864d

Please sign in to comment.