deno bundle
followed by the entry file will create a bundle.
$ deno bundle src/main.ts
The above will output the result to standard out rather than a file.
To save this output to a file, you can supply a second argument that is the path of the output file.
$ deno bundle src/main.ts main.js