I did some research to fix the JS heap size issue - the answer is to set the max_old_space_size
Eg: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
However, ./bin/webpack-dev-server --max_old_space_size=4096
is not an option
Anyone else ran into the same issue? How did you fix it?
My package.json does not have scripts as suggested in some other posts.
Our setup is somewhat similar to this - https://github.com/rails/webpacker/blob/master/docs/webpack.md