Skip to content

dbashford/mimosa-htmlclean

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

mimosa-htmlclean

Overview

This module uses htmlclean to minify .html files or .html-like files.

For more information regarding Mimosa, see http://mimosa.io.

Usage

Add 'htmlclean' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

During mimosa build and mimosa watch, when the --minify flag is enabled, this module will optimize the files specified in the extensions array.

This module performs the minification immediately after a file has been read. You can specific template files to be minified as well.

Default Config

htmlclean: {
  extensions:["htm", "html"]
  options: {}
}

options an object,

Pass-through options to the htmlclean library.

About

Simple cleaning module for html files

Resources

Stars

Watchers

Forks

Packages

No packages published