-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to import Preact via UNPKG CDN #3665
Comments
trusktr
changed the title
unable to import Preact via JSPM CDN
unable to import Preact via UNPKG CDN
Aug 11, 2022
Not sure whether you read it but we have a pinned issue around this, thought I would mention that to be sure 😅 #2564 (comment) |
Afaik the only CDNs that don't work right now are unpkg and jsdelivr. |
just use |
Will close this for now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solid.js borrowed the filesystem pattern Preact uses with sub folders having package.json files (sub-packages of sorts). This format causes some ESM CDNs that don't fully support edge cases of Node ESM format to fail at making these libraries importable.
More details, discussion, and examples of both libraries and multiple CDNs in this issue:
solidjs/solid#1159
The text was updated successfully, but these errors were encountered: