mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Updating angular prod build cli command #587
This commit is contained in:
parent
609d2127d9
commit
9bd6d0df8e
@ -153,7 +153,7 @@ gulp.task(
|
|||||||
const tasks = [];
|
const tasks = [];
|
||||||
createFrontendTask(
|
createFrontendTask(
|
||||||
'build-frontend-release default',
|
'build-frontend-release default',
|
||||||
'ng build --prod --no-progress --output-path=./release/dist'
|
'ng build --configuration production --no-progress --output-path=./release/dist'
|
||||||
);
|
);
|
||||||
tasks.push('build-frontend-release default');
|
tasks.push('build-frontend-release default');
|
||||||
return gulp.series(...tasks);
|
return gulp.series(...tasks);
|
||||||
@ -257,7 +257,7 @@ const simpleBuild = (isProd: boolean): any => {
|
|||||||
const tasks = [];
|
const tasks = [];
|
||||||
let cmd = 'ng build ';
|
let cmd = 'ng build ';
|
||||||
if (isProd) {
|
if (isProd) {
|
||||||
cmd += ' --prod --no-extract-licenses ';
|
cmd += ' --configuration production --no-extract-licenses ';
|
||||||
}
|
}
|
||||||
createFrontendTask('build-frontend default', cmd);
|
createFrontendTask('build-frontend default', cmd);
|
||||||
tasks.push('build-frontend default');
|
tasks.push('build-frontend default');
|
||||||
|
Loading…
Reference in New Issue
Block a user