UNPKG
buble-jsx-only
Version:
latest (0.21.0)
0.21.0
0.20.0
0.19.8
Bublé, but just JSX.
github.com/bublejs/buble
vizhub-open-core/buble-jsx-only
buble-jsx-only
/
src
/
program
/
types
/
JSXOpeningFragment.js
8 lines
(6 loc)
•
209 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
Node
from
'../Node.js'
;
export
default
class
JSXOpeningFragment
extends
Node
{
transpile
(
code
) { code.
overwrite
(
this
.
start
,
this
.
end
,
`
${
this
.program.jsx}
(
${
this
.program.jsxFragment}
, null`
); } }