DenoDDeno
Powered by
DustinD
Denoβ€’8mo agoβ€’
4 replies
Dustin

How to `deno bundle` to single TypeScript file?

Hi there,
first of all thanks a lot for this awesome project.
I'm really happy to get back
deno bundle
deno bundle
.

On the Blogpost https://deno.com/blog/v2.4#deno-bundle the author mentioned that
deno bundle
deno bundle
is for...

"... creating single-file JavaScript or TypeScript bundles."

With the docs I could not find out how to configure
deno bundle
deno bundle
to output a typescript file or at least a
.d.ts
.d.ts
file.

Is this a mistake in the blog?
Can anyone explain how to do that?

Thanks!

Cheers
Dustin
Deno
Deno 2.4: deno bundle is back | Deno
Deno bundle is back, alongside the addition of bytes and text imports, stabilized built-in OpenTelemetry, a new --preload flag, simplified dependency management with deno update, and more.
Deno 2.4: deno bundle is back | Deno
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

File Permissions on Deno.FileInfo
IndustrialIIndustrial / help
3y ago
Does `deno bundle` have a TypeScript API?
stephenSstephen / help
7mo ago
Deno bundle hangs
Romuald QuantinRRomuald Quantin / help
4y ago
Deno + TypeScript
TimTTim / help
2y ago