fleet-trimming-bundle
OfficialShrink built bundles by stubbing unused modules.
Software Engineering#performance#javascript#static-analysis#bundler#build-optimization#rolldown#bundle-trimming
AuthorSocketDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Iteratively stub heavyweight modules that the bundler statically pulls in but the runtime never reaches, shrinking the final bundle size after a build.
Core Features & Use Cases
- Baseline dist measurement and heaviest-file analysis to identify dead-weight imports.
- Phase-driven stub loop using rolldown and the fleet lib-stub to replace unused modules without breaking runtime.
- Clear guidance on when to apply (post-migration, pre-release, or during bundle-size optimizations).
Quick Start
Run the trimming workflow on a repo with a built bundle to begin identifying and stubbing unused modules.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fleet-trimming-bundle Download link: https://github.com/SocketDev/socket-mcp/archive/main.zip#fleet-trimming-bundle Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.