Rails pre-compile dying on 3MB react file Rails pre-compile dying on 3MB react file ruby-on-rails ruby-on-rails

Rails pre-compile dying on 3MB react file


You should definitely integrate webpack using the webpacker gem (https://github.com/rails/webpacker)

You can also try and check Bootsnap gem of Shopify(https://github.com/Shopify/bootsnap)