Skip to content

Commit bb86dae

Browse files
committed
build: update config to reduce issue
1 parent 347858a commit bb86dae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"scripts": {
55
"ng": "./node_modules/.bin/ng",
66
"start": "yarn ng serve",
7-
"build": "yarn ng build",
8-
"build:ci": "yarn ng build --prod",
9-
"build:stats": "yarn ng build --stats-json",
7+
"build": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build",
8+
"build:ci": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build --prod",
9+
"build:stats": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng --stats-json",
1010
"analyze": "webpack-bundle-analyzer dist/ledge/stats-es2015.json",
1111
"test": "yarn ng test",
1212
"test:ci": "yarn ng test --watch=false --progress=false --browsers=ChromeHeadlessCI --codeCoverage",
1313
"lint": "yarn ng lint",
1414
"commit": "git-cz",
15-
"deploy": "yarn ng deploy --max_old_space_size=4096 --repo=https://github.com/phodal/do.git --cname=devops.phodal.com",
16-
"build:lib": "yarn ng build ledge-render --prod",
15+
"deploy": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng deploy --max_old_space_size=4096 --repo=https://github.com/phodal/do.git --cname=devops.phodal.com",
16+
"build:lib": "node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build ledge-render --prod",
1717
"publish:lib": "cd dist/ledge-render && npm publish --access=public",
1818
"scully": "scully",
1919
"scully:serve": "scully serve"

0 commit comments

Comments
 (0)