[Glitch] Update vite to version 8.0.5
Port 4299e33389c3e6d4b229c7bc25510d4abe779e97 to glitch-soc Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
2ee6e447b4
commit
f204f01a23
@ -32,7 +32,6 @@ async function loadEmojiPolyfills() {
|
|||||||
// Loads Vite's module preload polyfill for older browsers, but not in a Worker context.
|
// Loads Vite's module preload polyfill for older browsers, but not in a Worker context.
|
||||||
function loadVitePreloadPolyfill() {
|
function loadVitePreloadPolyfill() {
|
||||||
if (typeof document === 'undefined') return;
|
if (typeof document === 'undefined') return;
|
||||||
// @ts-expect-error -- This is a virtual module provided by Vite.
|
|
||||||
// eslint-disable-next-line import/extensions
|
// eslint-disable-next-line import/extensions
|
||||||
return import('vite/modulepreload-polyfill');
|
return import('vite/modulepreload-polyfill');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user