`
`
If you omit the out file, the bundle will be sent to stdout
.
The bundle can just be run as any other module in Deno would:
`
The output is a self contained ES Module, where any exports from the main module supplied on the command line will be available. For example, if the main module looked something like this:
`
`
It could be imported like this:
`
Bundles can also be loaded in the web browser. The bundle is a self-contained ES module, and so the attribute of must be set to "module"
. For example:
`
`
Or you could import it into another ES module to consume:
`