Crate swc_ecma_transforms_inferno

Source

Structs§

JsxDirectives
Options
RefreshOptions

Enums§

VNodeType

Functions§

default_import_source
inferno
top_level_mark should 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