Home / Market / optimize bundle size

optimize bundle size

optimize-bundle-size

claude-command★ 347030 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Read, Bash, Grep, Glob argument-hint: [build-tool] | --webpack | --vite | --rollup description: Reduce and optimize bundle sizes through analysis, configuration, and code splitting strategies

---

Optimize Bundle Size

Reduce and optimize bundle sizes: $ARGUMENTS

Instructions

  1. Bundle Analysis and Assessment
  1. Build Tool Configuration
  1. Code Splitting and Lazy Loading
  1. Tree Shaking and Dead Code Elimination
  1. Dependency Optimization
  1. Asset Optimization
  1. Module Federation and Micro-frontends
  1. Performance Monitoring and Measurement
  1. Progressive Loading Strategies
  1. Validation and Continuous Monitoring

Focus on optimizations that provide the most significant bundle size reductions while maintaining application functionality. Always measure the impact of changes on both bundle size and runtime performance.