vite-plugin-vue icon indicating copy to clipboard operation
vite-plugin-vue copied to clipboard

fix: improve handling of transformed content in hot updates for Vue files

Open Jungzl opened this issue 3 months ago • 1 comments

Description

improve HMR handling for vue files that other plugins may have transformed alternative for #306 fix: #301, https://github.com/unocss/unocss/issues/3358

Additional context


What is the purpose of this pull request?

  • [x] Bug fix
  • [ ] New Feature
  • [ ] Documentation update
  • [ ] Other

Before submitting the PR, please make sure you do the following

  • [x] Read the Contributing Guidelines.
  • [x] Read the Pull Request Guidelines and follow the PR Title Convention.
  • [x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • [x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • [x] Ideally, include relevant tests that fail without this PR but pass with it.

Jungzl avatar Aug 11 '25 02:08 Jungzl

LGTM

huiliangShen avatar Aug 26 '25 04:08 huiliangShen