Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: previewServer option #157

Merged
merged 1 commit into from
Jun 7, 2024
Merged

feat: previewServer option #157

merged 1 commit into from
Jun 7, 2024

Conversation

curbengh
Copy link
Owner

@curbengh curbengh commented Jun 5, 2024

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

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
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@curbengh
Copy link
Owner Author

curbengh commented Jun 7, 2024

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

@curbengh curbengh merged commit 7639547 into master Jun 7, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add feature that local preview
2 participants