mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +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('/')) {
|
if (!baseHref.endsWith('/')) {
|
||||||
baseHref = baseHref + '/';
|
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 build -- docs --prod --base-href ${baseHref}`, { cwd: projectDir });
|
||||||
await runCommand('npm run docs:build', { 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) {
|
async function deploy(distDir: string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue