Reduce Heroku Compiled Slug Size

前端 未结 3 1227
广开言路
广开言路 2021-02-08 12:47

I\'ve just updated rails to v2.3.6 on my app under a bamboo-ree-1.8.7 stack and the compiled slug size has grown up to 40.5Mb! Previous to that last git push, the slug size was

3条回答
  •  忘了有多久
    2021-02-08 13:45

    If you're using less/bootstrap, on the cedar stack, then you can reduce slug size by precompiling and scripting up your precompile and push so that the less gem and dependencies are not included see here.

提交回复
热议问题