dnt
dnt copied to clipboard
Deno to npm package build tool.
I'm wondering whether there's a way to disable typechecking of specific outputs? / what is the recommended approach to addressing the following (I'm making use of the ws and Deno...
This is more of a documentation/marketing question. From my perspective, it would be interesting to discover projects people have packaged using dnt as those can work as reference and maybe...
I started porting a project to dnt and so far that has gone well. I bumped into a little problem, though. It seems the UMD code the tool emits is...
Hi and thank you for the wonderful project! Trying to compile the following: ```ts import { Wallet } from "https://cdn.skypack.dev/@ethersproject/wallet"; const w = Wallet.createRandom(); // ... ``` Compilation will work...
First of all, thank you for the great work behind DNT and Deno itself! `TextDecoder` and `TextEncoder` cannot be used yet to compile to NPM modules. I know it is...
There’re several modules in my `import_map.json` from where I import some types like: ``` import type { Foo } from "bar" ``` I wonder if there is a way to...
I often author TypeScript modules (for use in Deno) which don't use the Deno namespace or any of the Deno NS types (shared utilities which would be useful in non-Deno...
Reproduction: 1. Checkout https://github.com/tom-sherman/response-multipart/commit/ebbe84ee913c7ff87905134ca774baf1f0fde268 2. Run `deno run --allow-all scripts/build_npm.ts` Actual behaviour: `npm/src/deps/deno.land/[email protected]/bytes/mod.ts` contains unused exports Desired behaviour: Only the used exports should be included --- It would be good...
I want to publish the library to npm so that it assumes some globals exist eg. Headers, Response, ReadableStream. I don't want these globals to be shimmed in any way,...
https://github.com/denoland/dnt/issues/98#issuecomment-1159184592