Skip to content

Commit e2327d4

Browse files
authored
Add question mark (#249)
1 parent c9508ba commit e2327d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fastify-vite/plugin.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function viteFastify({ spa, clientModule } = {}) {
6969
fastify.entryPaths = Object.fromEntries(
7070
Object.entries(resolvedConfig.environments)
7171
.map(([env, envConfig]) => {
72-
if (envConfig.build.outDir) {
72+
if (envConfig.build?.outDir) {
7373
fastify.outDirs[env] = envConfig.build.outDir
7474
}
7575
if (envConfig.build?.rollupOptions?.input?.index) {

0 commit comments

Comments
 (0)