Skip to content

Commit

Permalink
chore: for hybrid build make application part build same as development
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-mangilev committed Jan 26, 2025
1 parent d748ab9 commit 0cff72c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
17 changes: 4 additions & 13 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0cff72c

Please sign in to comment.