-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Provide first-class support for multiple explicitly chosen UMD versions #126
Comments
I'm also thinking we should give packages the possibility of a network error like 404 on the default |
I think it's odd that https://unpkg.com/react gives me a CommonJS entry point. Why is this useful? Do lots of packages publish UMD as |
I think the assumption is that some npm packages have a default entry point in I can see how defaulting to CJS is confusing, but we definitely don't want to break packages as big as jQuery. |
We default to using However, I have a feeling it's also useful for people who are building tooling on top of unpkg, like bundlers. Our URLs work like the file system, with similar semantics to CommonJS' That said, we do provide a convenient way to override the default behavior for package authors using the
Please see #93 for my current thoughts on this. |
Thanks, I'll mark this as a duplicate and continue in #93. |
Cross posting @gaearon from facebook/react#13450 (comment):
The text was updated successfully, but these errors were encountered: