How can keep css comments after codegen?
Some(&comments)
, but it deletes the comments
```rust...How to set "paramtypes" metadata in Javascript?
Encountering SIGBUS intermittently
@swc/jest
:
```
● Test suite failed to run...Any examples of maintaining same plugin for babel and swc?
Emitter in SWC does not add expected space after '=>' in Arrow Functions
Does SWC remove comments in the code when transforming a JS file's AST and converting it back to a c
Compile .node DSO on freebsd
Parsing error
1:1 line number mapping
how to migrate from visit_mut_with to Pass?
preset-env support
/*#__PURE__*/
annotation handles/config/settings/API? (specifically, I'm in need of what @babel/plugin-transform-react-pure-annotations does, since their absence/incorrectness is kind of detrimental to tree-shaking)
Oh and, hello authors of the least rusty swc 😄...
Plugin panics when trying to read line number from SourceMapper
how can I mark a context?
wasm build uses old swc libraries?
How can I rewrite this code for the moved SyntaxContext?
expr.expr
which is a Box<Expr>
.
How can I get at the syntax context to add the mark? Or is this the wrong approach and should I be doing one of https://swc.rs/docs/plugin/ecmascript/cheatsheet#deleting-node ? I'm not sure how to apply that though, since it marks by making the name invalid and then removes, but here I need to retain what's marked.
...what happened with swc_ecmascript::visit::visit_expr?
How to debug in Rust
How to replace typescript::strip_with_jsx
How to test a visitor that uses visit_mut_script?
How to compile using your own custom plugin?
swc compile
command (from cargo install swc_cli
), but the transformations aren't applied on the produced output. Even using a config like this with a plugin like https://github.com/williamtetlow/swc-plugin-console-prefix doesn't apply the transformations:
```json
{...