Structs§
- JsxDirectives
- Options
- Plugin
Diagnostics Emitter - An emitter for the Diagnostic in plugin’s context by borrowing host’s environment context.
- Refresh
Options
Enums§
Functions§
- __
get_ transform_ plugin_ core_ pkg_ diag - __
transform_ plugin_ process_ impl - default_
import_ source - inferno
top_level_markshould be Mark passed to [swc_ecma_transforms_base::resolver::resolver_with_mark].- jsx
- Turn JSX into Inferno function calls
- parse_
expr_ for_ jsx - pure_
annotations - This pass adds a /*#PURE#/ annotation to calls to known pure top-level Inferno methods, so that terser and other minifiers can safely remove them during dead code elimination.
- refresh
react-refresh/babelhttps://github.com/facebook/react/blob/main/packages/react-refresh/src/ReactFreshBabelPlugin.js