fix(nextjs): Custom server generator root undefined (#17738)

This commit is contained in:
Nicholas Cunningham 2023-06-23 01:42:21 -06:00 committed by GitHub
parent d3ff61c0f1
commit 61faa558bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ export async function customServerGenerator(
} }
const outputPath = project.targets?.build?.options?.outputPath; const outputPath = project.targets?.build?.options?.outputPath;
const root = project.targets?.build?.options?.root; const root = project.root;
if ( if (
!root || !root ||