laravel-elixir-html-compress
v1.0.2
Published
Compress laravel views html
Downloads
3
Maintainers
Readme
laravel-elixir-html-compress
Compress laravel html views
##Install
npm install laravel-elixir-html-compress --save-dev
##Usage
var Elixir = require('laravel-elixir');
require('laravel-elixir-html-compress');
...
elixir(function(mix) {
mix.htmlCompress(src, output, options);
});
###Options
Plugin uses gulp-htmlmin
to minify html. So checkout their docs.
Default options are:
collapseWhitespace: true
removeAttributeQuotes: true
removeComments: true
minifyJS: false