2.0.0 • Published 6 years ago

reptar-html-minifier v2.0.0

Weekly downloads
353
License
MIT
Repository
github
Last release
6 years ago

reptar-html-minifier

A Reptar plugin for html-minifier.

Installation

Add to your reptar.config.js file.

const reptarHtmlMinifier = require('reptar-html-minifier');

module.exports = {
  lifecycle: {
    didBuild: reptarHtmlMinifier({
      collapseBooleanAttributes: true,
      collapseWhitespace: true,
      removeAttributeQuotes: true,
      removeComments: true,
      removeEmptyAttributes: true,
      removeRedundantAttributes: true
    }),
  },
};
2.0.0

6 years ago

1.0.0

8 years ago

0.7.0

9 years ago

0.6.1

9 years ago