2022-01-13 18:28:29 +00:00
|
|
|
// This module is a simple wrapper around react/jsx-runtime so that
|
|
|
|
// it can run in Node ESM. 'react' doesn't declare this module as an export map
|
|
|
|
// So we have to use the .js. The .js is not added via the babel automatic JSX transform
|
|
|
|
// hence this module as a workaround.
|
2022-01-13 18:29:57 +00:00
|
|
|
import jsxr from 'react/jsx-runtime.js';
|
2022-01-13 18:28:29 +00:00
|
|
|
const { jsx, jsxs, Fragment } = jsxr;
|
|
|
|
|
2022-01-13 18:29:57 +00:00
|
|
|
export { jsx, jsxs, Fragment };
|