We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm trying to convert my first NodeJS project to deno.
EvenEmiter is a very common NodeJS feature, and I do not know how to convert event usage to NodeJS code with dnt.
Do you know how to do that?
dnt issue
The text was updated successfully, but these errors were encountered:
issue solved with the dnt config:
await build({ entryPoints: ["./mod.ts"], outDir: "./npm", shims: { deno: true, webSocket: true, undici: true, custom: [ { package: { name: "stream/web", }, globalNames: ["ReadableStream", "TransformStream"], }, { globalNames: [ {name: "MessageEvent", typeOnly: true} ], package: { name: "ws", }, } ], }, compilerOptions: { lib: [ "dom", "esnext" ], }, ...
Sorry, something went wrong.
No branches or pull requests
Hi, I'm trying to convert my first NodeJS project to deno.
EvenEmiter is a very common NodeJS feature, and I do not know how to convert event usage to NodeJS code with dnt.
Do you know how to do that?
dnt issue
The text was updated successfully, but these errors were encountered: