From db86f76881845531fb39fe1ba030e87601c7d3d1 Mon Sep 17 00:00:00 2001 From: AhmedEldeeb50 Date: Wed, 24 Jun 2020 18:13:34 +0200 Subject: change the budget size for maximumWarning and maximumError Issue-ID: CCSDK-2474 Signed-off-by: AhmedEldeeb50 Change-Id: If61d9083168e1bf7c85e55580e507b02423b26bf --- cds-ui/designer-client/angular.json | 4 ++-- cds-ui/designer-client/package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cds-ui/designer-client') diff --git a/cds-ui/designer-client/angular.json b/cds-ui/designer-client/angular.json index 3be0e652f..59ad17a7a 100644 --- a/cds-ui/designer-client/angular.json +++ b/cds-ui/designer-client/angular.json @@ -77,8 +77,8 @@ "buildOptimizer": true, "budgets": [{ "type": "initial", - "maximumWarning": "2mb", - "maximumError": "5mb" + "maximumWarning": "4mb", + "maximumError": "8mb" }, { "type": "anyComponentStyle", diff --git a/cds-ui/designer-client/package.json b/cds-ui/designer-client/package.json index a8427ee9e..59cc5b550 100644 --- a/cds-ui/designer-client/package.json +++ b/cds-ui/designer-client/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "npm run lint && ng serve --proxy-config proxy.conf.json", - "build": "npm run lint && ng build", + "start": "npm run lint && ng build --prod --aot && ng serve --proxy-config proxy.conf.json", + "build": "npm run lint && ng build --prod --aot ", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" @@ -77,4 +77,4 @@ "tslint": "~5.15.0", "typescript": "~3.5.3" } -} +} \ No newline at end of file -- cgit 1.2.3-korg