aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/designer-client')
-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