foh

fis-optimizer-htmlmin

Minify HTML with fis

Showing:

Popularity

Downloads/wk

2

GitHub Stars

4

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

2

Size (min+gzip)

9.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

fis-optimizer-htmlmin

Minify HTML with fis

Getting Started

This plugin requires fis

If you haven't used fis before, be sure to check out the Getting Started guide, as it explains how to create a fis-conf.js as well as install and use fis plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install fis-optimizer-htmlmin -g

Htmlmin task

Run this task with the fis release -o command.

Minifies HTML using html-minifier. Bugs regarding the output should be reported here.

Options

See the html-minifier options.

Default Options

removeComments: true,
collapseWhitespace: true,
minifyJS: true

Example config

fis.config.merge({
    modules: {
        optimizer: {
            html: "htmlmin"
        }
    },
    settings: {
        optimizer: {
            "htmlmin": {
                minifyJS: false
            }
        }
    }
})

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100