From 0cff72c19afb94b408f7d81fea8475579ca0a20b Mon Sep 17 00:00:00 2001 From: Artem Mangilev Date: Sun, 26 Jan 2025 14:37:59 +0500 Subject: [PATCH] chore: for hybrid build make application part build same as development --- angular.json | 17 ++++------------- package.json | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/angular.json b/angular.json index e28b84a..0e227cf 100644 --- a/angular.json +++ b/angular.json @@ -108,19 +108,10 @@ }, "hybrid": { "tsConfig": "projects/ngx-vflow-demo/tsconfig.hybrid.json", - "budgets": [ - { - "type": "initial", - "maximumWarning": "2mb", - "maximumError": "4mb" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "2kb", - "maximumError": "4kb" - } - ], - "outputHashing": "all" + "optimization": false, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true }, "development": { "optimization": false, diff --git a/package.json b/package.json index 7ca6e94..1c366a3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "ng": "ng", "start": "ng serve", - "start:hybrid": "ng build ngx-vflow-lib && ng serve --configuration hybrid", + "start:hybrid": "ng build ngx-vflow-lib --watch & ng serve --configuration hybrid", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test",