Skip to content

Commit 452ea34

Browse files
feature(REPORT-481519): Gulp Task Updated
1 parent 0af614a commit 452ea34

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const ngCli = "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng";
77

88
gulp.task('production-build', (done) => {
99
runSequence('update-extensions-export', 'generate-router', () => {
10-
if (argv.prefix) {
10+
if (argv?.prefix) {
1111
exec(`${ngCli} build -c production --base-href ${argv.prefix}`);
1212
} else {
1313
exec(`${ngCli} build -c production`);

build/serve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const runSequence = require('gulp4-run-sequence');
66

77
gulp.task('serve', (done) => {
88
runSequence('update-extensions-export', 'generate-router', () => {
9-
exec(`${ngCli} serve --open --port ${argv.port || ''}`);
9+
exec(`${ngCli} serve --open --port ${argv?.port || ''}`);
1010
done();
1111
});
1212
});

0 commit comments

Comments
 (0)