Remove Glyphicons from Bootstrap

Elaine Byene picture Elaine Byene · Apr 24, 2015 · Viewed 9.2k times · Source

How can I remove all instances of glyphicons from the bootstrap 3? It looks like it's heavily embedded into the .css file :(

I'm trying to keep the file size minimum as possible.

Answer

Mo. picture Mo. · Oct 14, 2015

Just simply clone bootstrap from https://github.com/twbs/bootstrap-sass and comment out @import "bootstrap/glyphicons"; from _bootstrap.scss

// Reset and dependencies
@import "bootstrap/normalize";
@import "bootstrap/print";
//@import "bootstrap/glyphicons";