Re:Twitter Bootstrap without all the debt
by dinosaurs on Friday November 15, 2013 @01:59PM
(#6741383)
As far as I know, this (still experimental) grunt task by Addy Osmani, does exactly that: https://github.com/addyosmani/grunt-uncss
Re:Twitter Bootstrap without all the debt
by tehwebguy on Friday November 15, 2013 @05:47PM
(#6742673)
This is exactly what I was looking for!
Re:Twitter Bootstrap without all the debt
by markdotto on Friday November 15, 2013 @03:58PM
(#6742106)
As another commenter pointed out, you can recompile the .less files, excluding what you don't need. You can also use the web customizer in our hosted docs at getbootstrap.com.
Re:Twitter Bootstrap without all the debt
by jcutrell on Friday November 15, 2013 @02:19PM
(#6741490)
I'd recommend using the bootstrap source at first, and pulling out the modules you don't need from the bootstrap.less file. Because they are separated semantically, you can probably guess which pieces you won't need, and then band-aid from there.
Now if there was only a simple way to exclude all of the styles that are never used across a site I'd be able to cut my CSS down like 75%, but that would probably take a headless browser crawling the whole thing.