[WICG/webcomponents] How to load shared component library (JS + CSS) via CDN? (Issue #1107)

ninjacoder77 created an issue (WICG/webcomponents#1107)

I’m working with multiple libraries built using Web Components. Each of them depends on a shared icon component library, also built with Web Components.

Currently, I copy the built JS and CSS files from the icon library into each of my other libraries manually. This works but is not ideal, as every time I update the icon library, I need to replicate these changes in all dependent libraries.

Is there a recommended way to load a shared component library (including its JS and CSS) from a CDN, so I don’t have to copy and update the files manually every time?

Sorry if this is not the right place to ask. Any guidance would be appreciated!

Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1107
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1107@github.com>

Received on Sunday, 13 July 2025 00:14:20 UTC