@liamnewmarch/static-plugin-html-minifier

0.1.2 • Public • Published

HTMLMinifier plugin for Static

This plugin adds HTMLMinifier support to Static.

Usage

First, install Static and this plugin

npm install @liamnewmarch/static @liamnewmarch/static-plugin-html-minifier

Next add the plugin in your static.config.js

import minifier from '@liamnewmarch/static-plugin-html-minifier';

export default {
  // Other Static options here (optional)
  plugins: [
    minifier({
      // Plugin options here (optional)
    }),
  ],
}

Options

The HTMLMinifier plugin is a function which can take an optional options object. See the HTMLMinifier options quick reference.

Package Sidebar

Install

npm i @liamnewmarch/static-plugin-html-minifier

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

2.79 kB

Total Files

4

Last publish

Collaborators

  • liamnewmarch