Crate swc_ecma_transforms_react[][src]

Structs

Options
RefreshOptions

Enums

Runtime

https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#runtime

Functions

display_name

@babel/plugin-transform-react-display-name

jsx

@babel/plugin-transform-react-jsx

jsx_self

@babel/plugin-transform-react-jsx-self

jsx_src

@babel/plugin-transform-react-jsx-source

pure_annotations

This pass adds a /*#PURE#/ annotation to calls to known pure top-level React methods, so that terser and other minifiers can safely remove them during dead code elimination. See https://reactjs.org/docs/react-api.html

react

@babel/preset-react

refresh

react-refresh/babel https://github.com/facebook/react/blob/master/packages/react-refresh/src/ReactFreshBabelPlugin.js