diff --git a/webapp/angular.json b/webapp/angular.json index b714cb7d..831311ee 100644 --- a/webapp/angular.json +++ b/webapp/angular.json @@ -38,30 +38,19 @@ "configurations": { "production": { "outputPath": "dist", - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", - "maximumWarning": "2mb", - "maximumError": "5mb" + "maximumWarning": "500kb", + "maximumError": "1mb" }, { "type": "anyComponentStyle", - "maximumWarning": "6kb" + "maximumWarning": "2kb", + "maximumError": "4kb" } - ] + ], + "outputHashing": "all" }, "development": { "optimization": false,