Unused CSS

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
energylevels
Posts: 36
Joined: Sat Feb 21, 2015 1:50 am

Unused CSS

Post by energylevels »

Any change of getting something like https://github.com/uncss/grunt-uncss integrated a s plugin ? Useful these days if you are worjing with frameworks like Bootstrap. I know a lot of tools for removed unused CSS rules are not perfect but they still save a lot of time.
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Unused CSS

Post by pmk65 »

You can use postcss with postcss-uncss or others through the Gulp Taskrunner plugin.

You could also write a custom plugin, using the CSSCombWb as base. (This plugin runs a nodejs plugin that parses the editor content, so it should be fairly easy to change to a different nodejs command)
There are 10 types of people in the world: Those who understand binary and those who don't.
Post Reply