swc-docs
Installation
SKILL.md
SWC (Speedy Web Compiler)
SWC (Speedy Web Compiler) is an extensible Rust-based platform for the next generation of fast developer tools. It's used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, Trip.com, and more.
When to Use This Skill
- Transpiling TypeScript/JavaScript/JSX with SWC
- Configuring
.swcrcfor compilation, modules, minification - Using SWC with Jest, webpack, or as a standalone CLI
- Migrating from Babel or tsc to SWC
- Writing SWC plugins in Rust (Wasm)
- Using SWC for HTML minification
- Configuring target browsers and polyfills with SWC's env/preset-env equivalent