swc/crates/swc_ecma_transforms_react/tests/script
Fy 05a2815e6c
feat(es/react): Support script within automatic runtime (#7126)
**Description:**

Inject `const { jsx: _jsx} = require("react/jsx-runtime")` when sourceType is `script`

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7119.
2023-03-27 06:39:37 +00:00
..
integration feat(es/react): Support script within automatic runtime (#7126) 2023-03-27 06:39:37 +00:00
jsx/fixture/autoImport feat(es/react): Support script within automatic runtime (#7126) 2023-03-27 06:39:37 +00:00