'jsx' is not exported
error happens on build when importing non-transpiled react dependency
#8468
Closed
7 tasks done
Labels
inconsistency
Inconsistency between dev & build
regression
The issue only appears after a new release
Milestone
Describe the bug
The following error happens with
vite build
. It works without error during dev.source code of
@reintroducing/my-package
@reintroducing/my-package
hasbutton.jsx
on the main field of package.json.originaly reported: #8461 (comment)
Reproduction
https://stackblitz.com/edit/vitejs-vite-rwqysz?file=src%2FApp.jsx&terminal=dev
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: