You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👆 figured out that the esbuild compilations were not the bottleneck, but rather the metafile creation. between the js and server builds. Metafile creation was taking >20s and scaling superlinearly (> O(n))
What version of Remix are you using?
1.17.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Generate a vanilla Remix app using some basic template like
indie-stack
Add 300 routes. In my case I added them on the
remix.config.js
file:with
remixRoutes.json
having the following structure:Run the app with
npm run dev
Expected Behavior
Build times, especially after a change in the source-code happens in under 2 seconds
Actual Behavior
Build times are 30+ seconds. Rebuild time (hmr) is similar 😭
The text was updated successfully, but these errors were encountered: