full site update
This commit is contained in:
6
node_modules/astro/dist/vite-plugin-load-fallback/index.js
generated
vendored
6
node_modules/astro/dist/vite-plugin-load-fallback/index.js
generated
vendored
@@ -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 };
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user