full site update

This commit is contained in:
2025-07-24 18:46:24 +02:00
parent bfe2b90d8d
commit 37a6e0ab31
6912 changed files with 540482 additions and 361712 deletions

View File

@@ -1,7 +1,7 @@
import nodeFs from 'node:fs';
import type * as vite from 'vite';
type NodeFileSystemModule = typeof nodeFs;
export interface LoadFallbackPluginParams {
interface LoadFallbackPluginParams {
fs?: NodeFileSystemModule;
root: URL;
}

View File

@@ -41,8 +41,10 @@ function loadFallbackPlugin({
}
},
async load(id) {
const source = await tryLoadModule(id);
return source;
const code = await tryLoadModule(id);
if (code) {
return { code };
}
}
},
{