-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
v136 external flag broken #1033
Comments
thanks, i will look into it. |
The Preact team is seeing some similar issues from users using esm.sh, seemingly from For example, Thanks for all the work you do to maintain this! The ecosystem as a whole really appreciates your time & effort. |
Hi @ije , thanks for looking into it, but I don't think your update fixed my original issue (which does not involve If I clear my cache and run the Please could this be re-opened? |
yeah PR #1036 did fix this issue accutally, i will open another PR for this ASAP |
Thank you! |
@ije, this still seems to be happening. Is there a workaround? What's needed to get it fixed? |
Today esm.sh seems to have stopped propagating the
external
flag to transitive dependencies. At least, for type declarations. I guess this is related to the rollout of v136.Some example output from deno info:
It looks like the URL for
@radix-ui/react-primitive
does not propagate the flags, and so it ends up importing@types/react
from esm.sh, when it should be external.I have a Deno Fresh project, and use esm.sh to alias React for Preact, so this is a major problem. For now should I add
/v135/
to the URLs in my import map?The text was updated successfully, but these errors were encountered: