curbengh / hexo-yam

Yet Another Minifier. Minify static web assets and compress using brotli and zstd.
MIT License
24 stars 2 forks source link

feat: previewServer option #157

Closed curbengh closed 1 month ago

curbengh commented 1 month ago

BREAKING CHANGE plugin is now disabled by default when running hexo server, unless previewServer is set to false.

Close #154 Inspired by https://github.com/Lete114/hexo-minify/blob/e778c55f37733680f7c727a7dd6e3507e1147c88/index.js#L49

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.95%. Comparing base (e99e110) to head (e9584b2).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #157 +/- ## ======================================= Coverage 98.95% 98.95% ======================================= Files 1 1 Lines 192 192 Branches 42 42 ======================================= Hits 190 190 Misses 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

curbengh commented 1 month ago

tested with hexo s and hexo server without "/public" folder.