Skip to main content

swc

Use this skill when the user wants to transpile or minify JavaScript/TypeScript fast — a Rust-based drop-in Babel replacement with bundling and source maps.

소스 정보

저장소
javimosch/supercli
최근 소스 활동
2026년 7월 20일 22:58
감지된 SKILL.md 언어
영어
스타
51
포크
7

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
swc
description
Use this skill when the user wants to transpile or minify JavaScript/TypeScript fast — a Rust-based drop-in Babel replacement with bundling and source maps.
# swc Plugin SWC is a fast Rust-based compiler for JavaScript and TypeScript. Transpile modern syntax, minify bundles, and resolve modules — typically 10–20× faster than Babel. ## Installation ```bash npm install -g @swc/cli @swc/core ``` ## Basic Usage ```bash # Transpile a file swc src/index.js -o dist/index.js # Transpile a directory swc src -d dist # Minify output swc src/index.js -o dist/index.min.js --minify ``` ## Common Patterns ```bash # Use a config file (.swcrc) swc src -d dist --config-file .swcrc # Watch mode during development swc src -d dist --watch # Source maps for debugging swc src -d dist --source-maps ``` ## Usage Examples - "Transpile TypeScript to ES2015 with swc" - "Minify this JS bundle using swc" - "Set up swc watch mode for src/" ## SuperCLI ```bash sc swc self version sc swc _ _ src -d dist sc plugins learn swc ```
GitHub에서 보기