docs: update cloudflare imports

This commit is contained in:
dswbx committed 2025-09-03 17:00:24 +02:00
1 parent bf521e2931
commit 847f75b725
6 files changed
+9 -22

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ export function devFsVitePlugin({
}: {
verbose?: boolean;
configFile?: string;
}): Plugin {
} = {}): any {
let isDev = false;
let projectRoot = "";
@@ -115,7 +115,7 @@ if (typeof globalThis !== 'undefined') {
return polyfill + code;
}
},
};
} satisfies Plugin;
}
// Write function that uses the dev-fs polyfill injected by our Vite plugin