Skip to content

Commit 183d0e6

Browse files
perf(webpack-cli): cache schema arguments and use map lookups for options (#4760)
1 parent 5b33f70 commit 183d0e6

2 files changed

Lines changed: 249 additions & 69 deletions

File tree

.changeset/fast-pumas-cache.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"webpack-cli": patch
3+
---
4+
5+
Reduced CLI startup CPU and memory usage by caching schema-derived argument metadata, registering only the options present in the arguments, and reading config directories once during default-config discovery.

0 commit comments

Comments
 (0)