diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a511ee5..10d0c48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,4 +38,4 @@ jobs: run: npm install - name: Run build command - run: npm run build + run: npm run build-prod diff --git a/Foodie/ClientApp/package.json b/Foodie/ClientApp/package.json index 6b6cae1..3e033ff 100644 --- a/Foodie/ClientApp/package.json +++ b/Foodie/ClientApp/package.json @@ -5,7 +5,9 @@ "ng": "ng", "start": "ng serve", "build": "ng build", + "build-prod": "ng build --configuration production", "build:ssr": "ng run Foodie:server:dev", + "build-prod:ssr": "ng run Foodie:server:production", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", diff --git a/Foodie/Foodie.csproj b/Foodie/Foodie.csproj index 300fdad..d885613 100644 --- a/Foodie/Foodie.csproj +++ b/Foodie/Foodie.csproj @@ -47,8 +47,8 @@ - - + +