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
We currently have a bug where tree-shaking for vite (and probably webpack) is not working as intended.
We first discovered this issue with new Accordion using @u-elements/details being tree-shaked away and be broken.
This looked to be fixed by removing sideEffect:false, but that only disabled tree-shaking so that all components and its dependencies was bundled along.
We need to further investigate and test remedies to this.
The content you are editing has changed. Please copy your edits and refresh the page.
We currently have a bug where tree-shaking for vite (and probably webpack) is not working as intended.
We first discovered this issue with new
Accordion
using@u-elements/details
being tree-shaked away and be broken.This looked to be fixed by removing
sideEffect:false
, but that only disabled tree-shaking so that all components and its dependencies was bundled along.We need to further investigate and test remedies to this.
Tasks
packages/react
#2474@u-elements/*
#2477Notes
Notes:
With
"sideEffects": false
:Without
"sideEffects": false
:With
sideEffect:false
:Without:
The text was updated successfully, but these errors were encountered: