When I update from 5.10.3 to 5.11.0 (or later) I get the following error:
Uncaught ReferenceError: require is not defined
at jsx-runtime.js:6:3
It's worth to note that I am using the compiled library in a Storybook + Vite environment.
I am trying to upgrade tsup in this starter project: https://github.com/vercel/turborepo/tree/main/examples/design-system
Sorry that I cannot provide any more information. It's not urgent on my side, but I wanted to document it somewhere in case someone stumbles onto the same issue.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too