bun + Railway not respecting blitz.js/next.js page extensions
I'm attempting to deploy my first application to Railway using bun. I have the following configured in my next.config.js file so that only files ending with "page.tsx" are considered pages.
The blitz routes found in Routes, such as Home(), Todo(), etc should point to http://domain/, http://domain/todo, etc. Instead, they are pointing to https://domain/index.page, https://domain/todo.page. These are invalid links.
The strange thing is, if I remove bun.lockb and have Railway deploy via npm, the Routes are all fine. I do NOT have this problem running via bun in development.
2 Replies