If you omit the out file, the bundle will be sent to stdout
.
deno run colors.bundle.js
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:
Bundles can also be loaded in the web browser. The bundle is a self-contained ES module, and so the attribute of type
must be set to "module"
. For example:
</script>