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
I found a weird problem that confused a lot when using react. When I started vite, the console reported a lot of warning logs like this.
vite v2.6.13 dev server running at:
> Local: http://localhost:3004/
> Network: use `--host` to expose
ready in 360ms.
Sourcemap for"/Users/sanyuan/code/draft/bundless-lab/vite-react/node_modules/.vite/react.js" points to missing source files
Sourcemap for"/Users/sanyuan/code/draft/bundless-lab/vite-react/node_modules/.vite/react_jsx-dev-runtime.js" points to missing source files
[BABEL] Note: The code generator has deoptimised the styling of /Users/sanyuan/code/draft/bundless-lab/vite-react/node_modules/.vite/react-dom.js?v=cf634466 as it exceeds the max of 500KB.
Sourcemap for"/Users/sanyuan/code/draft/bundless-lab/vite-react/node_modules/.vite/react-dom.js" points to missing source files
Reproduction
Create and start a React project with official scaffolding.
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 https://github.com/vuejs/vue-next instead.
Describe the bug
I found a weird problem that confused a lot when using react. When I started vite, the console reported a lot of warning logs like this.
Reproduction
Create and start a React project with official scaffolding.
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: