This is an minifier for GitBook plugin.
Run minify after the build.
It is powered by the html-minifier, clean-css and UglifyJS.
Add the plugin to your book.json
:
{
"plugins": ["minifier"]
}
and run install command
$ gitbook install
You can add the following configuration params to your book.json
:
{
"plugins": ["minifier"],
"pluginsConfig": {
"minifier": {
"html": {},
"css": {},
"js": {}
}
}
}
MIT License