Not sure if this problem is specific to my system, but running vite build script (npm run build) causes javascript heap OOM for me, it could be fixed by replacing the build-only script with node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build
Not sure if this problem is specific to my system, but running vite build script (npm run build) causes javascript heap OOM for me, it could be fixed by replacing the build-only script with
node --max-old-space-size=4096 ./node_modules/vite/bin/vite.js build