mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
fix(app): build docs script
This commit is contained in:
parent
4ac024d73d
commit
2c1052c995
1 changed files with 3 additions and 5 deletions
|
|
@ -110,11 +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 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 });
|
||||
|
||||
await runCommand(`npm run build -- docs --prod --base-href ${baseHref}`, { cwd: projectDir });
|
||||
await runCommand('npm run docs:dirs', { cwd: projectDir });
|
||||
}
|
||||
|
||||
async function deploy(distDir: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue