You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# https://github.com/next-theme/hexo-optimize#readmefilter_optimize:
enable: true# remove the surrounding comments in each of the bundled filesremove_comments: falsecss:
# minify all css filesminify: true# bundle loaded css files into onebundle: true# use a script block to load css elements dynamicallydelivery: true# make specific css content inline into the html page# - only support the full path# - default is ['css/main.css']inlines:
excludes:
js:
# minify all js filesminify: true# bundle loaded js files into onebundle: trueexcludes:
# set the priority of this plugin,# lower means it will be executed first, default of Hexo is 10priority: 12
Solution
I installed these dependencies manually and it succeeded.
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
stevenjoezhang commentedon Jul 27, 2020
Thanks for your feedback. A new version has been released to fix this issue: https://www.npmjs.com/package/hexo-optimize/v/2.5.1
Image compression is actually an unfinished feature, I'm still working on it.
stale commentedon Sep 27, 2020
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.