[ci] format

This commit is contained in:
matthewp 2023-09-06 13:15:40 +00:00 committed by astrobot-houston
parent 67e8348594
commit 2272f8d3c4

View file

@ -99,10 +99,7 @@ export default function ({
vite: getViteConfiguration({ include, exclude, experimentalReactChildren }), vite: getViteConfiguration({ include, exclude, experimentalReactChildren }),
}); });
if (command === 'dev') { if (command === 'dev') {
const preamble = FAST_REFRESH_PREAMBLE.replace( const preamble = FAST_REFRESH_PREAMBLE.replace(`__BASE__`, '/');
`__BASE__`,
'/'
);
injectScript('before-hydration', preamble); injectScript('before-hydration', preamble);
} }
}, },