☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-react-jsx
/
test
/
fixtures
/
regression
/
issue-12478-automatic
/
plugin.js
☽
☼
packages/babel-plugin-transform-react-jsx/test/fixtures/regression/issue-12478-automatic/plugin.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
module.exports = ({ types: t }) => ({
2
visitor: {
3
NumericLiteral(path) {
4
path.replaceWith(
5
t.jsxElement(
6
t.jsxOpeningElement(t.jsxIdentifier("p"), []),
7
t.jsxClosingElement(t.jsxIdentifier("p")),
8
[]
9
)
10
);
11
}
12
}
13
});