ben-eb / gulp-uncss

DEPRECATED. Remove unused CSS selectors.
MIT License
938 stars 40 forks source link

Option html #61

Closed ilkome closed 8 years ago

ilkome commented 8 years ago

In docs says

html Type: Array|String Required value.

But it's doesn't work with string.

ilkome commented 8 years ago

https://github.com/ilkome/front-end/blob/master/gulpfile.js/tasks/styles.js

Here in css-clean task if change html: [paths.html.output], to html: paths.html.output, - doesn't work.

ben-eb commented 8 years ago

The option works differently if you pass a string; it expects raw HTML content instead of a path.

If you want to pass some HTML directly into the task instead, you can specify it here as a string.

ilkome commented 8 years ago

Thanks for explanation.