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: support import.meta.hot.invalidate #10244

Merged
merged 14 commits into from
Sep 28, 2022
Merged

Commits on Sep 25, 2022

  1. feat: support import.meta.hot.invalidate

    Self-accepting modules can call this to continue propagating the HMR update to importers. Conditional `hot.accept` calls do not work unless `hot.invalidate` is called when the condition fails.
    aleclarson authored and IanVS committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    c211824 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    002bd60 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c71e79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8b9cb67 View commit details
    Browse the repository at this point in the history
  5. chore: remove unused import

    IanVS committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    295c6de View commit details
    Browse the repository at this point in the history
  6. chore: format

    IanVS committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    d0eb297 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    68fe6ff View commit details
    Browse the repository at this point in the history
  8. test: add test for invalidation

    IanVS committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    83cb7cc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    970aa77 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Update packages/vite/src/node/server/index.ts

    Co-authored-by: 翠 / green <green@sapphi.red>
    aleclarson and sapphi-red authored Sep 26, 2022
    Configuration menu
    Copy the full SHA
    93608ea View commit details
    Browse the repository at this point in the history
  2. Update playground/hmr/invalidation/child.js

    Co-authored-by: 翠 / green <green@sapphi.red>
    IanVS and sapphi-red authored Sep 26, 2022
    Configuration menu
    Copy the full SHA
    6330948 View commit details
    Browse the repository at this point in the history
  3. chore: remove unused import

    IanVS committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    898e09e View commit details
    Browse the repository at this point in the history
  4. Update docs/guide/api-hmr.md

    Co-authored-by: Alec Larson <1925840+aleclarson@users.noreply.github.com>
    IanVS and aleclarson authored Sep 26, 2022
    Configuration menu
    Copy the full SHA
    a21886d View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    d147d6b View commit details
    Browse the repository at this point in the history