Skip to content

Commit a6cdab5

Browse files
authored
Merge pull request #9 from chaynHQ/heroku-start
Separate `start:heroku` task
2 parents 374ad8a + 72f72e5 commit a6cdab5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: yarn run start:prod --optimize_for_size --max_old_space_size=460 --gc_interval=100
1+
web: yarn start:heroku

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"start:dev": "nest start --watch",
1414
"start:debug": "nest start --debug --watch",
1515
"start:prod": "node dist/main",
16+
"start:heroku": "node dist/main --optimize_for_size --max_old_space_size=460 --gc_interval=100",
1617
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
1718
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
1819
"test": "jest",

0 commit comments

Comments
 (0)