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?
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 asindex.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 withrun build
?Is this a bug, expected behaviour, am I missing something?