diff options
author | 2025-04-22 13:05:13 +0200 | |
---|---|---|
committer | 2025-04-22 12:05:13 +0100 | |
commit | a19a185efd75334f2f417b433fcfaa0017fe41ee (patch) | |
tree | 853831aa7f68a8e0ee1aab0b231ba5d22b42c61c /packages/integrations/react/jsx-runtime.js | |
parent | 620d15d8483dfb1822cd47833bc1653e0b704ccb (diff) | |
download | astro-a19a185efd75334f2f417b433fcfaa0017fe41ee.tar.gz astro-a19a185efd75334f2f417b433fcfaa0017fe41ee.tar.zst astro-a19a185efd75334f2f417b433fcfaa0017fe41ee.zip |
feat: convert integrations to TS (#13663)
Diffstat (limited to 'packages/integrations/react/jsx-runtime.js')
-rw-r--r-- | packages/integrations/react/jsx-runtime.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/integrations/react/jsx-runtime.js b/packages/integrations/react/jsx-runtime.js deleted file mode 100644 index d86f698b9..000000000 --- a/packages/integrations/react/jsx-runtime.js +++ /dev/null @@ -1,8 +0,0 @@ -// 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. -import jsxr from 'react/jsx-runtime.js'; -const { jsx, jsxs, Fragment } = jsxr; - -export { jsx, jsxs, Fragment }; |