Remove unused CSS selectors with Rails/Sprockets assets pipeline? -
i have run dust-me-selectors , found out of deadweight comes bootstrap, fontawsome , jquery-ui. problem installed rubygems in order update them. there gem takes config file in yaml/json configure unused selectors(blacklist) should remove/filter before compresses onto server? preferably should done when run "rake assets:precompile".
partial solution - can customize bootstrap installation, , remove parts don't need. see:
http://getbootstrap.com/customize/
that of way there, customization might not granular enough you.
Comments
Post a Comment