Disable logging by default

This commit is contained in:
weyusi 2018-10-25 20:15:26 +10:30
parent a6c5727d4b
commit d2d92bc539
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ if (hexo.config.neat_enable === true) {
// HTML minifier
hexo.config.neat_html = assign({
enable: true,
logger: true,
logger: false,
exclude: [],
ignoreCustomComments: [/^\s*more/],
removeComments: true,
@ -20,7 +20,7 @@ if (hexo.config.neat_enable === true) {
// Css minifier
hexo.config.neat_css = assign({
enable: true,
logger: true,
logger: false,
exclude: ['*.min.css']
}, hexo.config.neat_css)
@ -28,7 +28,7 @@ if (hexo.config.neat_enable === true) {
hexo.config.neat_js = assign({
enable: true,
mangle: true,
logger: true,
logger: false,
output: {},
compress: {},
exclude: ['*.min.js']
@ -37,13 +37,13 @@ if (hexo.config.neat_enable === true) {
// html, css, js compression
hexo.config.neat_gzip = assign({
enable: true,
logger: true
logger: false
}, hexo.config.neat_gzip)
// html, css, js compression
hexo.config.neat_brotli = assign({
enable: true,
logger: true
logger: false
}, hexo.config.neat_brotli)
var filter = require('./lib/filter')