feat: migrate to starlight

This commit is contained in:
DuroCodes
2024-05-06 17:15:30 -04:00
parent 767acedea7
commit bb190f2d81
15140 changed files with 2828326 additions and 35408 deletions

20
node_modules/astro/dist/prerender/utils.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { getOutDirWithinCwd } from "../core/build/common.js";
function isServerLikeOutput(config) {
return config.output === "server" || config.output === "hybrid";
}
function getPrerenderDefault(config) {
return config.output !== "server";
}
function getOutputDirectory(config) {
const ssr = isServerLikeOutput(config);
if (ssr) {
return config.build.server;
} else {
return getOutDirWithinCwd(config.outDir);
}
}
export {
getOutputDirectory,
getPrerenderDefault,
isServerLikeOutput
};