Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Conversation

@tyllrb
Copy link
Contributor

@tyllrb tyllrb commented Jan 23, 2018

Minify HTML files based on the following criteria

    "minifyHTMLConfig": {
      "collapseBooleanAttributes": true,
      "collapseWhitespace": true,
      "collapseInlineTagWhitespace": true,
      "keepClosingSlash": true,
      "minifyCSS": true,
      "minifyJS": true,
      "removeComments": true,
      "removeAttributeQuotes": true,
      "removeRedundantAttributes": true
    }

Copy link
Contributor

@namniak namniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code works well after fixing issues

var mozjpeg = require('mozjpeg');
var render = require("./template");
var isbinaryfile = require('isbinaryfile');

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing minifyHTML import

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants