diff options
author | AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> | 2020-06-24 18:13:34 +0200 |
---|---|---|
committer | AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com> | 2020-06-24 18:13:34 +0200 |
commit | db86f76881845531fb39fe1ba030e87601c7d3d1 (patch) | |
tree | 699bcfcc6ec70cc7e944bfb4cf8be3ebabfb6641 | |
parent | aee530a92b14041b73d5c15bf4fa0709c92a82d0 (diff) |
change the budget size for maximumWarning and maximumError
Issue-ID: CCSDK-2474
Signed-off-by: AhmedEldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: If61d9083168e1bf7c85e55580e507b02423b26bf
-rw-r--r-- | cds-ui/designer-client/angular.json | 4 | ||||
-rw-r--r-- | cds-ui/designer-client/package.json | 6 |
2 files changed, 5 insertions, 5 deletions
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 |