-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Conflict with bits-ui only in dev mode #3411
Comments
Circular dependency causes this error, and It might be better to let @melt-ui fit webpack or rspack/ rsbuild |
Thanks I will cross the issue with bits-ui's repo. |
There is no webpack based example for this library,You can give the library an issue or pr to make the library better |
Thanks @witsaint ! |
Since it is a problem with the third-party library, this issue will be closed. If it involves changes to Rsbuild, please feel free to open it. |
Np! I'll post here if there is a resolution. My project is a desktop app using Webview so dev mode isn't as crucial for me but it would be a DX improvement still |
Version
Details
I have this client error only in the dev server when importing bits-ui, builds work fine:
Uncaught TypeError: _callbacks_js__WEBPACK_IMPORTED_MODULE_16__ is undefined
Reproduce link
https://github.com/melMass/reproduction/tree/js/rsbuild-bitsui
Reproduce Steps
git clone https://github.com/melMass/reproduction cd reproduction git checkout js/rsbuild-bitsui pnpm install pnpm run dev
The text was updated successfully, but these errors were encountered: