Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ backend:
- npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID
frontend:
phases:
preBuild:
commands:
- npx ng version
build:
commands:
- npm install -g @angular/cli
- ng version
- ng build --configuration=production
- npx ng build --configuration=production
artifacts:
baseDirectory: dist/amplify-angular-template/browser
files:
Expand Down
2 changes: 2 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"src/polyfills.ts",
"zone.js"
],
"tsConfig": "tsconfig.app.json",
Expand Down Expand Up @@ -75,6 +76,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"src/polyfills.ts",
"zone.js",
"zone.js/testing"
],
Expand Down
Loading