Closed KnorpelSenf closed 2 years ago
Currently, the tool adds shims to files that are specific to Node.
The point of shims is to make Deno code run on Node. However, in platform-specific files, this does not make sense, because the code doesn't even run on Deno.
This behaviour is confusing, as https://github.com/grammyjs/grammY/pull/80#discussion_r744538518 shows.
How can something be both breaking and a bug? https://xkcd.com/1172/
Currently, the tool adds shims to files that are specific to Node.
The point of shims is to make Deno code run on Node. However, in platform-specific files, this does not make sense, because the code doesn't even run on Deno.
This behaviour is confusing, as https://github.com/grammyjs/grammY/pull/80#discussion_r744538518 shows.