laravel-elixir-uncss
v2.2.0
Published
Laravel Elixir wrapper around uncss Gulp task.
Downloads
12
Readme
laravel-elixir-uncss
Remove unused CSS with UnCSS.
This is a simple gulp-uncss wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile, like so:
Install
With npm do:
npm install laravel-elixir-uncss --save-dev
Example
var elixir = require('laravel-elixir');
require('laravel-elixir-uncss');
elixir(function(mix) {
mix.uncss('main.css', {
html: ['index.html']
});
});
Options
Please see the gulp-uncss documentation for all of the options you can use.
Contributing
Pull requests are welcome.
License
MIT © Hosmel Quintana