File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ import { autoload } from "esbuild-plugin-autoload"
2+
3+ await Bun . build ( {
4+ entrypoints : [ "src/index.ts" ] ,
5+ target : "bun" ,
6+ outdir : "build" ,
7+ plugins : [ autoload ( "./src/routes" ) ]
8+ } ) . then ( console . log )
Original file line number Diff line number Diff line change 66 "test" : " bun test" ,
77 "gentypes" : " bun run supabase gen types typescript --linked > src/lib/types/supabase.ts" ,
88 "dev" : " bun run --watch src/index.ts" ,
9- "build" : " bun build src/index .ts --outdir build --target=bun " ,
10- "start" : " NODE_ENV=production bun run build /index.js "
9+ "build" : " bun build.ts" ,
10+ "start" : " NODE_ENV=production bun run src /index.ts "
1111 },
1212 "dependencies" : {
1313 "@elysiajs/server-timing" : " ^1.0.2" ,
1818 "elysia-autoload" : " ^1.7.0" ,
1919 "elysia-ip" : " ^1.0.7" ,
2020 "elysia-rate-limit" : " ^4.1.0" ,
21+ "esbuild-plugin-autoload" : " ^0.3.3" ,
2122 "latest" : " ^0.2.0"
2223 },
2324 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments