how to start contributing?
Use `swc_ecma_compat_es2017::async_to_generator` for conditional async transformations
async
functions and transforms them to generators for usage with mobx flows. I've gotten reasonably far but came across: https://docs.rs/swc_ecma_compat_es2017/latest/src/swc_ecma_compat_es2017/async_to_generator.rs.html#39-46
This transformation is exactly what i've been aiming for and would make for a far more robust solution, as what i've written so far handles the conditional cases as I expect.
The issue i'm running into is that I'd like to instantiate the AsyncToGenerator
visitor to visit_children_with
it when the conditions are met to perform this transformation, but async_to_generator
returns Pass
which does not satisfy VisitMut
...minify output to gzip
Changelog for minifier
How to handle the execution order of WASM plugins
externalHelpers
, env.targets
, ...) are processed after all plugins have completed execution.
For example, if I want a plugin to execute after the externalHelpers
transformation, is there any approach I can try?...Comments not going on new lines always
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?