I have 512MB RAM machine with 512MB of swap memory available (basically it is heroku 7$ tier). Total is 1GB. My npm build takes 1.5 GB of RAM locally (npm build exits with MemoryError on heroku), I don't want to include /build folder into git and run builds locally. What are workarounds for this? Maybe any node flags?