rolldown / Builtin Plugins
https://github.com/rolldown/rolldown
rolldown_plugin_transform
- relies on:
- figure out what type of source using
ocx::oxc_span::source_type
- parse the source code with
rolldown_ecmascript::EcmaCompiler
- keep track of the comments (extracted by the parser)
- Extract symbols and scopes using
oxc::oxc_semantic::SemanticBuilder
- Pass the ast
oxc::oxc_codegen::CodeGenerator
that will generate code + sourcemap