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
To enable faster development we'd want the watch step to finish as fast as possible after changing a file, but currently it often triggers the full rebuild (30s) instead of doing so incrementally.
I think there's no single thing slowing it down and likely no more "easy wins" are possible. The profiler output is enormous and it's probably not worth to look into — unless someone has deep webpack/plugins knowledge. Even looking at the flamegraph I don't see anything actionable.
Since watch speed is painfully visible during development, if I think of something I'll try it out, but for now I'll close this issue.
Hopefully esbuild becomes an alternative at least during development, but it's not there yet:
To enable faster development we'd want the
watch
step to finish as fast as possible after changing a file, but currently it often triggers the full rebuild (30s) instead of doing so incrementally.Also:
require.context
webpack/webpack#13636(but
DEV_SLIM=true
supposedly avoids this and saves ~5s on the first build)A good start would be this command, but it produces hundreds of lines that need to be analyzed:
Related (they will likely improve performance as well):
The text was updated successfully, but these errors were encountered: