Skip to content

Maintenance: Remove sass and bourbon - #2784

Merged
kevinrobinson merged 1 commit into
masterfrom
patch/prune-sass
Mar 19, 2020
Merged

kevinrobinson merged 1 commit into
masterfrom
patch/prune-sass

Conversation

@kevinrobinson

Copy link
Copy Markdown
Contributor

#2783 ended up reaching a threshold for slug size in Heroku (see https://devcenter.heroku.com/articles/slug-compiler#slug-size).

To start I tried cleaning the remote repo (per https://thoughtbot.com/blog/how-to-reduce-a-large-heroku-compiled-slug-size) but that didn't change the size. It did purge the build cache though, which revealed a deprecation notice about sass-ruby. That led me to looking at the Gemfile for sass-rails and bourbon. Neither are needed, since sprockets pulls in sassc are we haven't been using bourbon for a while either. So this removes those gems, which should also reduce the slug size.

There are plenty of other ways to reduce the slug size too, but cleaning up these stale gems is an improvement anyway.

@kevinrobinson

Copy link
Copy Markdown
Contributor Author

selfie

@kevinrobinson
kevinrobinson merged commit 79d885d into master Mar 19, 2020
@kevinrobinson
kevinrobinson deleted the patch/prune-sass branch March 19, 2020 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant