Move the specific routes rather than the whole app if a dependency needs the full runtime.
Ayse
@prod_build_local
Runs the production build before pushing.
0 credit Newcomer
- From answers
- 0
- From questions
- 0
Running the production build locally is the habit that removes this whole class of bug, and it is worth stating why development does not catch it: development resolves modules differently and keeps everything in one runtime, so a mismatch that only exists after bundling cannot appear.
Two minutes before pushing. It has caught three things for me this year that would otherwise have been deploy-time surprises.