We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9508ba commit e2327d4Copy full SHA for e2327d4
packages/fastify-vite/plugin.mjs
@@ -69,7 +69,7 @@ export function viteFastify({ spa, clientModule } = {}) {
69
fastify.entryPaths = Object.fromEntries(
70
Object.entries(resolvedConfig.environments)
71
.map(([env, envConfig]) => {
72
- if (envConfig.build.outDir) {
+ if (envConfig.build?.outDir) {
73
fastify.outDirs[env] = envConfig.build.outDir
74
}
75
if (envConfig.build?.rollupOptions?.input?.index) {
0 commit comments