From 0f8608008f8c488d7b26900d1a4f5518d789e0f3 Mon Sep 17 00:00:00 2001 From: Denis Strigo Date: Tue, 24 Sep 2024 12:29:37 +0200 Subject: [PATCH] fix(demo-build): fix demo build (#6029) --- scripts/docs/build-docs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs/build-docs.ts b/scripts/docs/build-docs.ts index 42365ce211..c4285629db 100644 --- a/scripts/docs/build-docs.ts +++ b/scripts/docs/build-docs.ts @@ -111,7 +111,7 @@ async function buildDocsApp(projectDir: string, baseHref: string) { baseHref = baseHref + '/'; } - await runCommand(`npm run build -- docs --prod --base-href ${baseHref}`, { cwd: projectDir }); + await runCommand(`npm run build:docs -- --configuration production --aot --base-href ${baseHref}`, { cwd: projectDir }); await runCommand('npm run docs:dirs', { cwd: projectDir }); }