summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-06-26 04:31:34 +0000
committerGerrit Code Review <gerrit@onap.org>2020-06-26 04:31:34 +0000
commita0ba60caf5ceb5312fdee01d7868bb218950cef7 (patch)
tree4c82454e01227171a7432190665347ceb0b347a4
parent4fc38c0f7dddf18e51b6016508a12099ec520045 (diff)
parentdb86f76881845531fb39fe1ba030e87601c7d3d1 (diff)
Merge "change the budget size for maximumWarning and maximumError"
-rw-r--r--cds-ui/designer-client/angular.json4
-rw-r--r--cds-ui/designer-client/package.json6
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