fix: add flag during build script

Fixes compilation on low-memory systems (<~2GB)

Resolves #163
pull/164/head
Josh Moore 2 years ago committed by GitHub
parent 548d726395
commit aad45d8204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@
}, },
"scripts": { "scripts": {
"dev": "npm run build && npm start", "dev": "npm run build && npm start",
"build": "tsc", "build": "NODE_OPTIONS=\"--max-old-space-size=1024\" tsc",
"start": "node dist/ass.js", "start": "node dist/ass.js",
"setup": "node dist/setup.js", "setup": "node dist/setup.js",
"metrics": "node dist/metrics.js", "metrics": "node dist/metrics.js",
@ -91,4 +91,4 @@
"@types/uuid": "^8.3.1", "@types/uuid": "^8.3.1",
"@types/ws": "^7.4.7" "@types/ws": "^7.4.7"
} }
} }

Loading…
Cancel
Save