How to load sp components from CDN? #3705
Replies: 1 comment
-
You need to work with jsdeliver and find a way for them to surface export conditions on their ESM output. CDNs like JSPM offer this to ensure the production code is served when desired. In that this is a third party offering, there’s little we can do to support you in this effort. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to load some components from Spectrum via the proposed CDN. Unfortunately the loaded components aren't optimized for production:
I've created a minimal reproduction:
https://codepen.io/openscript/pen/gOZQeXp
How to load spectrum components in production with buildless environment?
The suggested CDN doesn't work well in the country I'm residing in. I need to use jsdelivr. How can I get Spectrum components to work with jsdelivr?
I've created another minimal reproduction:
https://codepen.io/openscript/pen/eYbQMMr
Beta Was this translation helpful? Give feedback.
All reactions