请注意,本文编写于
2527
天前,最后修改于
1350
天前,其中某些信息可能已经过时。
npm install hexo-all-minifier --save
根目录的 _config.yml
# 代码压缩 github.com/chenzhutian/hexo-all-minifier all_minifier: true html_minifier: enable: true ignore_error: false exclude: css_minifier: enable: true exclude: - '*.min.css' js_minifier: enable: true mangle: true output: compress: exclude: - '*.min.js' image_minifier: enable: false # 图片不压缩 interlaced: false multipass: false optimizationLevel: 2 png-slimquant: false progressive: false
如果对你有用的话,可以打赏哦
打赏
本文作者:mereith
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
请注意,本文编写于
2527
天前,最后修改于
1350
天前,其中某些信息可能已经过时。
npm install hexo-all-minifier --save
根目录的 _config.yml
# 代码压缩 github.com/chenzhutian/hexo-all-minifier all_minifier: true html_minifier: enable: true ignore_error: false exclude: css_minifier: enable: true exclude: - '*.min.css' js_minifier: enable: true mangle: true output: compress: exclude: - '*.min.js' image_minifier: enable: false # 图片不压缩 interlaced: false multipass: false optimizationLevel: 2 png-slimquant: false progressive: false
如果对你有用的话,可以打赏哦
打赏
本文作者:mereith
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!