Skip to content

Commit 6483e5c

Browse files
authored
Fixed ng build command
1 parent c4e0a85 commit 6483e5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnet-core/build/build-with-ng.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dotnet publish --output (Join-Path $outputFolder "Host")
2525

2626
Set-Location $ngFolder
2727
& yarn
28-
& ng build -prod
28+
& ng build --prod
2929
Copy-Item (Join-Path $ngFolder "dist") (Join-Path $outputFolder "ng") -Recurse
3030
Copy-Item (Join-Path $ngFolder "Dockerfile") (Join-Path $outputFolder "ng")
3131

@@ -54,4 +54,4 @@ Copy-Item (Join-Path $slnFolder "docker/ng/*.*") $outputFolder
5454

5555
## FINALIZE ###################################################################
5656

57-
Set-Location $outputFolder
57+
Set-Location $outputFolder

0 commit comments

Comments
 (0)