DEV Community

Discussion on: Automatically remove unused css from Bootstrap or other frameworks

attacomsian profile image

It is a good tiny package but the problem is it does not search JavaScript files for CSS references. Sometimes there are some CSS classes which only apply via JavaScript e.g. Bootstrap dropdown toggler. Due to this, it broke one of my projects and I had to remove it to bring everything back to normal.