/
githubmirror
/
babel
Обзор
Документация
Войти
/
githubmirror
/
babel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/babel-plugin-transform-react-jsx/test/fixtures/react-automatic/comments/output.mjs
47 строк
716 B
liuxingbaoyu
fix: Keep jsx comments (#17538)
29 окт 2025, 22:50
Не верифицирован
29 окт 2025, 22:50
fc11396
Код
Авторство
О чём код?
import { jsx as _jsx } from "react/jsx-runtime"; { /*#__PURE__*/_jsx("div", /*i18n*/ { id: 'hello' }); } { /*#__PURE__*/_jsx("div", { children: /*#__PURE__*/_jsx(Trans, /*i18n*/ { a: 1 }) }); } { /*#__PURE__*/_jsx("div", { id: 'hello' } /* comments */); } { /*#__PURE__*/_jsx("div", { children: /*#__PURE__*/_jsx(Trans, { a: 1 } /* comments */) }); } { /*#__PURE__*/_jsx("div", { children: /*#__PURE__*/_jsx(Trans /*test1 */, { a: "1" /**test2 */, b: "2" /**test3 */ }) }); } { /*#__PURE__*/_jsx("div", { children: /*#__PURE__*/_jsx(Trans, /*test1*/ { a: 1, /**test2 */b: "2" /*test3 */ }) }); }