DustinD
Denoβ€’7mo 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.

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

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

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

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

Thanks!

Cheers
Dustin
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
Was this page helpful?