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 have verified that this currently works with the esbuild and webpack versions listed above by using the rollup-replace plugin with this configuration
Bug report
Current Behavior
When a component library using radix-ui/primitives is packaged with
vite@^5.1.5
esbuild@^0.19.3
react@^17.0.2
primitives/packages/react/id/src/id.tsx
Line 5 in 605ccb4
when this library is then consumed by an App using
webpack@5.89.0
react@17.0.2
it trigger webpack/webpack#14814
Expected behavior
Using react@17 at both component and application level should not result in compilation errors when using webpack in the final step.
Reproducible example
N/A
Suggested solution
Since
primitives/packages/react/id/src/id.tsx
Line 5 in 605ccb4
I have verified that this currently works with the esbuild and webpack versions listed above by using the rollup-replace plugin with this configuration
Additional context
N/A
Your environment
The text was updated successfully, but these errors were encountered: