What is grunt-style-extract?
Grunt-style-extract is a Grunt version of style-extract, which is used for extracting only specific CSS properties and their selectors from CSS files.
Install
npm install grunt-style-extract
Options
- properties: an array of CSS properties, that will be extracted
Usage
grunt;
Before
/* Foo *//* Bar */
After
Grunt version
The Gulp version can be found at grunt-style-extract.
Node version
The Node version can be found at style-extract.