Merge pull request #7655 from YevhenBondarenko/feature/max_old_space_size

[3.4.2]added max_old_space_size to the build:prod ui
This commit is contained in:
Andrew Shvayka 2022-11-21 11:35:41 +02:00 committed by GitHub
commit d8f87c45c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
"ng": "ng",
"start": "node --max_old_space_size=8048 ./node_modules/@angular/cli/bin/ng serve --configuration development --host 0.0.0.0 --open",
"build": "ng build",
"build:prod": "ng build --configuration production --vendor-chunk",
"build:prod": "node --max_old_space_size=3072 ./node_modules/@angular/cli/bin/ng build --configuration production --vendor-chunk",
"build:types": "node generate-types.js",
"test": "ng test",
"lint": "ng lint",