2.0.0 • Published 4 years ago

reptar-html-minifier v2.0.0

Weekly downloads
353
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.0

7 years ago

0.7.0

8 years ago

0.6.1

8 years ago