David Sherret
David Sherret
I wonder if by default it should not ignore the exit codes for async commands. So if you do: ```sh cmd1 & cmd2 & cmd3 ``` The exit code would...
Try: 1. Add `@types/ws` as a dev dependency 2. Use the "timers" shim: https://github.com/denoland/dnt#built-in-shims 3. Use the full "deno" shim and not just the test one. Not sure about the...
@brickpop in this scenario, you could use a "specifier to npm package" mapping. https://github.com/denoland/dnt#specifier-to-npm-package-mappings That said, since this is using skypack, I believe changing the specifier `https://cdn.skypack.dev/@ethersproject/wallet` to include the...
Is this fixed if you add a @types/node dev dependency? ```ts await build({ // etc... package: { // etc... devDependencies: { "@types/node": "^16.11.37" } } }); ``` Otherwise, if you're...
So the main issue here is that `@types/node` doesn't have `TextEncoder` or `TextDecoder` as a global (I did not know this until just now). I looked into fixing this in...
Hmmm... it would be hard to do this automatically. Manual configuration sounds better, but I'm not sure at the moment how this configuration would look. Do you have any ideas?...
It would be a lot of work to do this. What you could do for now is add a post build step that uses a tool that performs tree shaking...
@mkrnavana could you give an example where this would be useful or give an example of the scenario? There is probably a workaround. I've never heard about using these in...
Related: https://github.com/denoland/dnt/issues/118 This is something that hasn't been implemented in TypeScript ☹️
@bebraw you can spot where it does this by looking in the output folder's `src` directory. In your case, it's injecting it into `globalThis`. A temporary workaround is to add...