You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
Importing anything from
react-syntax-highlighter
makes the build script fail in watch mode, even though the initial build completes successfully.No debug logs are printed, the builds just hang.
Reproduction
https://stackblitz.com/edit/vitejs-vite-kya2f6cg?file=package.json,src%2FApp.tsx&terminal=watch
Steps to reproduce
Run
vite build --watch
(should have auto-started).Make any change in
App.tsx
to re-build the bundle.The build hangs and the bundle is not re-built.
System Info
Used Package Manager
npm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: