Skip to content

Commit

Permalink
fix: appType default value
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jul 7, 2022
1 parent e625faa commit b5e7b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -619,7 +619,7 @@ export async function resolveConfig(
}
},
worker: resolvedWorkerOptions,
appType: config.appType ?? middlewareMode === 'ssr' ? 'custom' : 'spa',
appType: config.appType ?? (middlewareMode === 'ssr' ? 'custom' : 'spa'),
experimental: {
importGlobRestoreExtension: false,
hmrPartialAccept: false,
Expand Down

0 comments on commit b5e7b1b

Please sign in to comment.