Skip to content

Commit

Permalink
changed: prod limit white building app
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Nov 8, 2023
1 parent 8974a09 commit 14d5a71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY . .

## Build the angular app in production mode and store the artifacts in dist folder

RUN npm run ng build --configuration="prod" --output-path=dist --base-href="./" --output-hashing=none --build-optimizer=true
RUN npm run ng build --configuration="prod" --output-path=dist --base-href="./" --output-hashing=none --build-optimizer=true --vendor-chunk


### STAGE 2: Setup ###
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumWarning": "10kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
"maximumWarning": "4kb",
"maximumError": "10kb"
}
],
"fileReplacements": [
Expand Down

0 comments on commit 14d5a71

Please sign in to comment.