marko-js / vite

A Marko plugin for Vite
MIT License
55 stars 8 forks source link

fix: issues with hmr #42

Closed DylanPiercey closed 1 year ago

DylanPiercey commented 1 year ago

Description

Fixes a few HMR related issues:

Checklist:

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 0f345311648ad4c704b326a436abadce9ab740e0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | @marko/vite | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 1 year ago

Codecov Report

Base: 87.62% // Head: 85.84% // Decreases project coverage by -1.77% :warning:

Coverage data is based on head (0f34531) compared to base (d4cdd67). Patch coverage: 43.47% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## ========================================== - Coverage 87.62% 85.84% -1.78% ========================================== Files 9 9 Lines 412 424 +12 Branches 101 102 +1 ========================================== + Hits 361 364 +3 - Misses 43 52 +9 Partials 8 8 ``` | [Impacted Files](https://codecov.io/gh/marko-js/vite/pull/42?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js) | Coverage Δ | | |---|---|---| | [src/index.ts](https://codecov.io/gh/marko-js/vite/pull/42?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js#diff-c3JjL2luZGV4LnRz) | `88.28% <43.47%> (-3.12%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=marko-js)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.