In this recipe, we will further decrease the file size of our main.css file by stripping comments from it. To this end, we will incorporate another Grunt plugin, grunt-strip-css-comments, into our workflow.
Removing CSS comments with the grunt-strip-CSS-comments plugin
Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.