Skip to content

vvenv/gitbook-plugin-minifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBook minify Plugin

This is an minifier for GitBook plugin.

Run minify after the build.

It is powered by the html-minifier, clean-css and UglifyJS.

Usage

Installation

Add the plugin to your book.json:

{
  "plugins": ["minifier"]
}

and run install command

$ gitbook install

Optional configuration

You can add the following configuration params to your book.json:

{
  "plugins": ["minifier"],
  "pluginsConfig": {
    "minifier": {
      "html": {},
      "css": {},
      "js": {}
    }
  }
}

License

MIT License

About

This is an minifier for GitBook plugin. Run minify after the build.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%