-
-
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
+esm version of library no longer available for rita package #18546
Comments
The link works again because I reverted package.json to the old entries in version 3.0.27. When I use the new entries, that file disappears. Can you describe what triggers the creation of the file via rollup/terser ? |
Indeed, I can see the problem with 3.0.26. Will take a look. |
The resolver fails with the error
It should work if you move |
This may indeed solve the specific issue (I'm hesitant to try because I don't want to again break work for downstream users), but the larger problem is that this failure is opaque to the me as library maintainer. I suppose I would need to integrate specific tests of the jsdelivr urls into my build process... But on a failure, where would I find the resolver logs you refer to for debugging ? |
The error logs are not public, unfortunately. In most error cases, the response itself indicates the reason, but resolver errors are not so clear, that's something we might improve in the feature. In this specific case, if you want to make sure it'll work after that change, a beta release might be a good option. |
Would be ideal if the resolver error could be passed to the generated file |
Description
I had previously been using the url: https://cdn.jsdelivr.net/npm/rita/+esm to import the rita library, but as of this week the file is no longer found. The only changes in the library since last release were fields of package.json (export). Any reason why this file would disappear with a change to package.json ?
Specific changes
Old (working):
New (broken):
Affected jsDelivr links
https://cdn.jsdelivr.net/npm/rita/+esm
Response headers
Information
OS X 11.7.9
tested in multiple browsers
Requisites
Additional content
No response
The text was updated successfully, but these errors were encountered: