Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vitejs/vite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a94c657
Choose a base ref
...
head repository: vitejs/vite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 37dbbd0
Choose a head ref
  • 15 commits
  • 15 files changed
  • 2 contributors

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. test: add failing test

    IanVS committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    ffe3c93 View commit details
    Browse the repository at this point in the history
  2. fix: conditionally accept if all exports are react components

    But this is broken because Vite still treats this as self-accepting.
    IanVS committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    a545a44 View commit details
    Browse the repository at this point in the history
  3. fix: always call hot.accept

    aleclarson authored and IanVS committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    bcd210f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a72611a View commit details
    Browse the repository at this point in the history
  5. test: fix test expectation

    IanVS committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    4fae6a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    37dbbd0 View commit details
    Browse the repository at this point in the history
Loading