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
Similarly, the library package on npm includes three different unbundled versions of each component:
Source code in /components
Compiled ES modules in /module/components
Compiled CommonJS modules in /lib/components
There also seem to be several bundled versions of the entire library:
design-system-react-components.js
design-system-react-components.min.js
design-system-react.js
design-system-react.min.js
While decreasing the size of the npm package would certainly be nice, the main reason that it would be nice to consolidate on ESM would be to avoid accidentally duplicating versions of these components in apps which still use a mix of ESM and CommonJS. This is a pretty common footgun which results in increased bundle size as well as bugs when "stateful" things like context or settings are duplicated.
The text was updated successfully, but these errors were encountered:
IE11 was officially retired by Microsoft in June 2022. Would it be possible to update the list of supported targets here?
design-system-react/babel.config.js
Lines 7 to 8 in ccbca06
Similarly, the library package on npm includes three different unbundled versions of each component:
/components
/module/components
/lib/components
There also seem to be several bundled versions of the entire library:
While decreasing the size of the npm package would certainly be nice, the main reason that it would be nice to consolidate on ESM would be to avoid accidentally duplicating versions of these components in apps which still use a mix of ESM and CommonJS. This is a pretty common footgun which results in increased bundle size as well as bugs when "stateful" things like context or settings are duplicated.
The text was updated successfully, but these errors were encountered: