Crash course for Bun.js. See more at Bun
To install dependencies:
bun install
To run:
bun run index.ts
To build:
bun build <input-file> --outfile=./dist/<bundle-file-name>
Replace <input-file>
with the entrypoint of your app (e.g. index.ts) and replace <bundle-file-name>
with the desired bundle name (e.g. bundle.js)