Skip to content

perf(dev): bound light webpack runtime - #587

Open
beruro wants to merge 1 commit into
developfrom
junyu/light-dev-webpack-config
Open

perf(dev): bound light webpack runtime#587
beruro wants to merge 1 commit into
developfrom
junyu/light-dev-webpack-config

Conversation

@beruro

@beruro beruro commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

The light development webpack mode still enables browser-client runtime features and cache behavior that retain unnecessary memory during local development.

Solution

  • Disable browser-client runtime features in light development mode.
  • Keep development caching memory-only and bounded to one generation.
  • Preserve isolated production filesystem caching.
  • Validation: 5 Node regression tests and performance-lifecycle review.

Potential risks

  • Development rebuild speed may trade off against lower retained memory.
  • Production cache behavior must remain isolated from the light-development override.
  • Memory improvement should be verified with a real development-session measurement, not inferred from configuration alone.

@beruro
beruro force-pushed the junyu/light-dev-webpack-config branch from bdeda38 to 459275b Compare July 30, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant