How to reduce rails slug size on a react/rails project

177 views Asked by At

I have a project with a ruby buildpack and a react buildpack the total slug size is about 109.8mb, the react side comes out to about 900kb (largest gzipped file 300kb), so I take this to mean that ruby side is taking up 108.9mb on the total slug size, is there some way to reduce this? is this normal? I havent been able to find any concrete answers while searching. please link any relevant documentation.

I dont have any assets in the file structure, the ruby side contains only models and controllers. I have removed all possible gems from the gemfile, I have cleared my apps heroku cache, it all still comes out to the same size.

0

There are 0 answers