Is it possible to have Bun bundle my Typescript on file save in vscode?
The guide says I can call bun run index.ts
in the command line and add it to the package.json
like so but I don’t know how to make it run on save.
package.json:
{
"name": "quickstart",
"module": "index.ts",
"type": "module",
"scripts": {
"start": "bun run index.ts"
},
"devDependencies": {
"@types/bun": "^1.0.0"
}
}