Registry / other / swc-ecma-transforms-base

swc-ecma-transforms-base

JSON →
library42.0.1rscratesunverified

Base transformations for the SWC JavaScript/TypeScript compiler.

# Cargo.toml [dependencies] swc_ecma_transforms_base = "42.0.1"
INSTALL
IMPORT
SIG · SWC-ECMA-TRANSFORM
S
swc-ecma-transforms-base
otherrustv42.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

noop
use swc_ecma_transforms_base::pass::noop;

Creates a no-op transform pass for the SWC compiler.

use swc_ecma_transforms_base::pass::noop; fn main() { let _pass = noop(); println!("No-op transform created"); }
Debug
Known issues
gotchaThis crate is part of the SWC ecosystem and requires other SWC crates for full functionality.
fix
Add `swc_ecma_ast` and `swc_ecma_parser` as dependencies.
affects: >=42.0.0
Upgrade
Version history
42.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
swc-ecma-transforms-base — cargo add swc-ecma-transforms-base · libregistry