Skip to content

Commit 0994756

Browse files
committed
chore(ngx-material-password-strength): added build:demo:prod task
1 parent 51efe98 commit 0994756

File tree

2 files changed

+3879
-3820
lines changed

2 files changed

+3879
-3820
lines changed

gulpfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ gulp.task('build:demo', () => {
533533
return execDemoCmd(`build --preserve-symlinks --prod --aot --build-optimizer`, {cwd: `${config.demoDir}`});
534534
});
535535

536+
gulp.task('build:demo:prod', () => {
537+
return execDemoCmd(`build --preserve-symlinks --prod --aot --build-optimizer --base-href /ngx-material-password-strength/ --deploy-url /ngx-material-password-strength/`, {cwd: `${config.demoDir}`});
538+
});
539+
536540
gulp.task('serve:demo-ssr', ['build:demo'], () => {
537541
return execDemoCmd(`build --preserve-symlinks --prod --aot --build-optimizer --app ssr --output-hashing=none`, {cwd: `${config.demoDir}`})
538542
.then(exitCode => {
@@ -564,7 +568,7 @@ gulp.task('push:demo', () => {
564568
});
565569

566570
gulp.task('deploy:demo', (cb) => {
567-
runSequence('build:demo', 'build:doc', 'push:demo', cb);
571+
runSequence('build:demo:prod', 'build:doc', 'push:demo', cb);
568572
});
569573

570574

0 commit comments

Comments
 (0)