Merge pull request #86 in TEA/mina-sidor-fa-web from feature/acc-deployment to develop

Squashed commit of the following:

commit b80896487554d90ed95c1a93596e2f3330202983
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date:   Fri Sep 10 10:45:07 2021 +0200

    Added deployment for acc
This commit is contained in:
Erik Tiekstra
2021-09-10 11:04:45 +02:00
parent 1613116c0e
commit 5b00453d97
8 changed files with 200 additions and 7 deletions

View File

@@ -83,6 +83,33 @@
}
]
},
"acc": {
"fileReplacements": [
{
"replace": "apps/mina-sidor-fa/src/environments/environment.ts",
"with": "apps/mina-sidor-fa/src/environments/environment.acc.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
},
"api": {
"fileReplacements": [
{
@@ -103,6 +130,10 @@
"production": {
"browserTarget": "mina-sidor-fa:build:production"
},
"acc": {
"browserTarget": "mina-sidor-fa:build:acc",
"proxyConfig": "./config/proxy.conf.api.json"
},
"api": {
"browserTarget": "mina-sidor-fa:build:api",
"proxyConfig": "./config/proxy.conf.api.json"