diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts index 2a78ce9cd0a3..d5f6965224e4 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); } },