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 6c34cb8 commit b4f9b1aCopy full SHA for b4f9b1a
packages/nuxi/src/commands/build.ts
@@ -67,7 +67,9 @@ export default defineCommand({
67
try {
68
// Use ? for backward compatibility for Nuxt <= RC.10
69
nitro = kit.useNitro?.()
70
- logger.info(`Building for Nitro preset: \`${nitro.options.preset}\``)
+ if (nitro) {
71
+ logger.info(`Building for Nitro preset: \`${nitro.options.preset}\``)
72
+ }
73
}
74
catch {
75
//
0 commit comments