swc

Rust-based platform for the Web

10 articles 33.8k View on GitHub ↗
10 articles
How to Contribute to SWC: Setting Up the Development Environment and Running Tests

Curious how to contribute to SWC? Learn to set up the development environment, install Rust and pnpm, and run tests with feature flags to validate your contributions.

how-to-guide
Jun 15, 2026
SWC Compatibility Transforms for Older JavaScript Versions: The Complete Guide

Explore SWC compatibility transforms for older JavaScript versions. Downgrade modern ECMAScript syntax to ES2022 down to ES3 with SWC's powerful tools. Read the complete guide.

how-to-guide
Jun 15, 2026
How SWC Handles Source Maps and Debugging Support: A Deep Dive into the Architecture

Discover how SWC handles source maps and debugging. Explore its centralized SourceMap architecture, byte-to-line conversion, V3 source map emission, and WebAssembly plugin interface.

deep-dive
Jun 15, 2026
SWC's AST Structure and Node Types: A Complete Guide for Tooling

Explore SWC's AST structure and node types. Discover how its enum-based design in swc_ecma_ast ensures compile-time safety for transforming code with visitor patterns.

deep-dive
Jun 15, 2026
How to Troubleshoot SWC Parsing Errors for TypeScript and Modern JavaScript Syntax

Troubleshoot SWC parsing errors for TypeScript and JavaScript. Learn to examine spans, drain lexer diagnostics, and trace execution to fix issues efficiently.

how-to-guide
Jun 15, 2026
How to Migrate Babel Projects to SWC: Configuration Differences and Compatibility Guide

Easily migrate Babel projects to SWC. Learn configuration differences, map presets, and ensure compatibility with our simple guide. Switch to SWC today for faster builds.

migration-guide
Jun 15, 2026
How to Build and Run SWC Plugin Transformations with WebAssembly

Learn to build and run SWC plugin transformations using WebAssembly. Scaffold, compile, and load WASM plugins efficiently with SWC's runtime for custom code transformations.

how-to-guide
Jun 15, 2026
How to Implement Custom Transformations Using SWC's Visitor and Fold Patterns

Learn to implement custom transformations in SWC using the Visitor and Fold patterns. Mutate or produce new AST nodes with generated traits for powerful code manipulation.

how-to-guide
Jun 15, 2026
How to Configure SWC Preset-Env for Targeted Browser Support and Polyfill Management

Configure SWC preset-env for targeted browser support and polyfill management. Learn static and dynamic polyfill injection using `.swcrc` or Rust Config.

how-to-guide
Jun 15, 2026
How SWC's Resolver Pass Handles Identifier Scope Resolution and Hygiene Tracking

Discover how SWC's resolver pass uses SyntaxContext and lexical scopes for accurate identifier resolution and hygienic variable renaming across scopes.

internals
Jun 15, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →