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
When attempting to import two modules from the same package, in the case where module A imports module C and B imports C, if the user were to import both A & B:
Description
When attempting to import two modules from the same package, in the case where module A imports module C and B imports C, if the user were to import both A & B:
they would both import and run any side effects in Package C.
Affected jsDelivr links
https://esm.run/@material/web/button/filled-button.js
https://esm.run/@material/web/button/outlined-button.js
both run
customElements.define('md-ripple')
which causes a custom element registry breakage(repro link: https://lit.dev/playground/#gist=59778e3d268c095c623299971752425c)
Response headers
filled-button
outlined-button
Information
Requisites
Additional content
Perhaps if a package has package provides package.json exports bundling can be split by those entrypoints or maybe a flag to turn off bunding?
The text was updated successfully, but these errors were encountered: