Added optimise for size
This commit is contained in:
parent
471b3fef8d
commit
c1d20adb66
|
@ -10,7 +10,7 @@
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"postinstall": "tsc",
|
"postinstall": "tsc",
|
||||||
"deploy": "git add . && git commit -m Heroku && git push heroku main",
|
"deploy": "git add . && git commit -m Heroku && git push heroku main",
|
||||||
"start": "node --max_old_space_size=2048 build/index.js",
|
"start": "node --max_old_space_size=1024 --optimize_for_size build/index.js",
|
||||||
"start:dev": "ts-node src/index.ts"
|
"start:dev": "ts-node src/index.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Reference in New Issue