aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/react/jsx-runtime.js
diff options
context:
space:
mode:
authorGravatar Florian Lefebvre <contact@florian-lefebvre.dev> 2025-04-22 13:05:13 +0200
committerGravatar GitHub <noreply@github.com> 2025-04-22 12:05:13 +0100
commita19a185efd75334f2f417b433fcfaa0017fe41ee (patch)
tree853831aa7f68a8e0ee1aab0b231ba5d22b42c61c /packages/integrations/react/jsx-runtime.js
parent620d15d8483dfb1822cd47833bc1653e0b704ccb (diff)
downloadastro-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.js8
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 };