Lesson 23 / 30

SWC Plugins and Ecosystem

Explore SWC's growing plugin ecosystem and capabilities.

SWC plugins: fewer than Babel

SWC has fewer plugins than Babel because it covers common features natively. But the ecosystem is growing. For standard transpilation, SWC works out of the box.

Built-in vs plugin features

SWC includes TypeScript, JSX, async/await, destructuring, and most modern features natively. Plugins extend edge cases or add experimental features.

Fallback to Babel for missing features

If you need a Babel plugin that SWC doesn't support, run SWC first, then pipe through Babel for that specific plugin. Rare, but sometimes necessary.