Skip to content

Commit fe0cc35

Browse files
authored
release: @fastify/[email protected] (#251)
* Add question mark (#249) * bump: @fastify/[email protected]
1 parent 07bbb25 commit fe0cc35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fastify-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"publishConfig": {
4444
"access": "public"
4545
},
46-
"version": "8.1.1",
46+
"version": "8.1.2",
4747
"optionalDependencies": {
4848
"@fastify/htmx": "workspace:^",
4949
"@fastify/react": "workspace:^",

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)