[ci] format
This commit is contained in:
parent
67e8348594
commit
2272f8d3c4
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue