-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix🗄 area/interfaceThis affects the public interfaceThis affects the public interface🤞 phase/openPost is being triaged manuallyPost is being triaged manually
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
3.0.1
Link to runnable example
https://stackblitz.com/edit/vitejs-vite-sorj9w?file=src%2Ftest.mdx,vite.config.ts&terminal=dev
Steps to reproduce
- Go to https://stackblitz.com/edit/vitejs-vite-sorj9w?file=src%2Ftest.mdx,vite.config.ts&terminal=dev (run
npm run dev
if it is not auto run) - Delete all content of
test.mdx
- The app is broken after hmr:
Expected behavior
The app should not be broken.
Actual behavior
The app is broken.
Runtime
Node v20
Package manager
npm v10
OS
macOS
Build and bundle tools
Vite
Metadata
Metadata
Assignees
Labels
🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix🗄 area/interfaceThis affects the public interfaceThis affects the public interface🤞 phase/openPost is being triaged manuallyPost is being triaged manually