elysia-autoroutes icon indicating copy to clipboard operation
elysia-autoroutes copied to clipboard

`bun build` doesn't work as expected

Open kaitakami opened this issue 6 months ago • 0 comments

I have set up autoroutes in my elysia server according to the docs.

However, when I run bun run build and I set my entrypoint as index.ts (where I initialize my elysia app) it doesn't generate the routes in the ./routes directory (the routes set using autoroutes). It doesn't throw error neither.

In bun run dev it works amazing, however it doesn't seem to be working with run build?

Is this a bug, expected behaviour, am I missing something?

kaitakami avatar Jul 31 '24 05:07 kaitakami