diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts index 2a78ce9cd..d5f696522 100644 --- a/packages/integrations/react/src/index.ts +++ b/packages/integrations/react/src/index.ts @@ -99,10 +99,7 @@ export default function ({ vite: getViteConfiguration({ include, exclude, experimentalReactChildren }), }); if (command === 'dev') { - const preamble = FAST_REFRESH_PREAMBLE.replace( - `__BASE__`, - '/' - ); + const preamble = FAST_REFRESH_PREAMBLE.replace(`__BASE__`, '/'); injectScript('before-hydration', preamble); } },