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
Targeted shimming #37
Comments
Do you think it would make sense for the users to say target browser only? Then it might be simpler on your end (no need for analysis). |
or simply opt out (in) of using shims in general. |
I've just tried 0.7.2, now it doesn't shim Response/Request in the resulting js files, but still uses it in declaration files. That is, type |
This is implemented and released now. See https://github.com/denoland/dnt#shims for more details. |
Right now the shim is too broad, for example #36 and the shim being injected for something like
setTimeout
andsetInterval
. It is also not ideal for any package that uses the shim to have to depend on undici because of deno.ns.Deno
namespace are used and then bundle those parts in the final output.The text was updated successfully, but these errors were encountered: