From 2e11009751761cec6a133a6717dd72a9a33d5815 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Thu, 4 Jul 2024 09:44:07 +0000 Subject: [PATCH] fix(react): Fix jsx runtime rewrite --- dev-packages/rollup-utils/plugins/make-esm-plugin.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-packages/rollup-utils/plugins/make-esm-plugin.mjs b/dev-packages/rollup-utils/plugins/make-esm-plugin.mjs index 91aba689f888..b2f514f4eb33 100644 --- a/dev-packages/rollup-utils/plugins/make-esm-plugin.mjs +++ b/dev-packages/rollup-utils/plugins/make-esm-plugin.mjs @@ -39,8 +39,7 @@ export function makeReactEsmJsxRuntimePlugin() { preventAssignment: false, sourceMap: true, values: { - "'react/jsx-runtime'": "'react/jsx-runtime.js'", - '"react/jsx-runtime"': '"react/jsx-runtime.js"', + 'react/jsx-runtime': 'react/jsx-runtime.js', }, }); }