🕒 阅读时间:1 分钟 📝 字数:116 👀 阅读量: Loading...
使用插件hexo-all-minifier
如果你访问github有困难,可以访问此镜像库hexo-all-minifier
这里我选择静默的原因是因为这些插件的输出日志影响hexon的加载
all_minifier: true
js_concator:
enable: true
bundle_path: "/js/bundle.js"
front: false
silent: true
html_minifier:
enable: true
ignore_error: false
silent: true
exclude:
css_minifier:
enable: true
silent: true
exclude:
- "*.min.css"
js_minifier:
enable: true
mangle: true
silent: true
output:
compress:
exclude:
- "*.min.js"
image_minifier:
enable: true
interlaced: false
multipass: false
optimizationLevel: 2
pngquant: false
progressive: false
silent: true
爆赞!



























