tree-shaking

Official

Eliminate dead code to shrink JS bundles.

AuthorPatternsDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tree shaking eliminates dead code from JavaScript bundles, reducing bundle size and improving load performance.

Core Features & Use Cases

  • ES module-based imports and exports enable effective tree shaking.
  • Identify and remove unused exports to minimize bundle payload in modern web apps.
  • Provide guidance for marking packages as side-effect-free to maximize elimination.

Quick Start

Configure your bundler to enable tree shaking by using ES modules and named imports.

Dependency Matrix

Required Modules

None required

Components

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: tree-shaking
Download link: https://github.com/PatternsDev/skills/archive/main.zip#tree-shaking

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.