mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
fix(app): build docs script
This commit is contained in:
parent
30f0099ddc
commit
f33b2502de
7 changed files with 526 additions and 4 deletions
|
|
@ -110,7 +110,9 @@ async function buildDocsApp(projectDir: string, baseHref: string) {
|
|||
if (!baseHref.endsWith('/')) {
|
||||
baseHref = baseHref + '/';
|
||||
}
|
||||
await runCommand('npm run build -- docs --prod --aot --base-href /ngx-admin/', { cwd: projectDir });
|
||||
// await runCommand('npm run build -- docs --prod --aot --base-href /ngx-admin/', { cwd: projectDir });
|
||||
// await runCommand('npm run docs:prepare', { cwd: projectDir });
|
||||
await runCommand('npm run docs:build', { cwd: projectDir });
|
||||
// await runCommand(`npm run build -- docs --prod --base-href '${baseHref}'`, { cwd: projectDir });
|
||||
// await runCommand('npm run docs:dirs', { cwd: projectDir });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue