hexo-filter-htmlminifier
A Hexo plugin to minify output HTML files with HTML Minifier
Last updated 4 years ago by yangliu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hexo-filter-htmlminifier 
SYNC missed versions from official npm registry.

hexo-filter-htmlminifier

Build Status

A Hexo filter to minify HTML files using HTML Minifier

Install

npm install hexo-filter-htmlminifier --save

Options

html_minifier:
  priority: 10000
  collapseWhitespace: true
  conservativeCollapse: false
  removeAttributeQuotes: true
  removeComments: true
  removeRedundantAttributes: true
  removeScriptTypeAttributes: true
  removeStyleLinkTypeAttributes: true
  • priority (optional): set the priority of the minify filter to make sure the task excute after other HTML filters. If you are using GZip filter (or some others) at the same time, you may need to change this value.
  • for other optional, please see here.

Current Tags

  • 1.0.2                                ...           latest (4 years ago)

2 Versions

  • 1.0.2                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |