DenoDDeno
Powered by
weegeeW
Denoβ€’3y agoβ€’
16 replies
weegee

How to bundle my project

I have a mod.js file that I wrote with Deno and I want to bundle it and it depends on bunch of other file

I ran
esbuild mod.js --bundle --format=esm --outdir=dist
esbuild mod.js --bundle --format=esm --outdir=dist
and I try to use that in the browser but it doesn't download the dependecies
Screenshot_2023-10-19_at_12.13.01_am.png
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

How to `deno bundle` to single TypeScript file?
DustinDDustin / help
8mo ago
How deploy deno.fresh project for my VPS?
mioeMmioe / help
4y ago