Initial Astro site for dd0c.net

This commit is contained in:
Jarvis Prime
2026-03-22 20:00:13 +00:00
commit ba8d866985
9814 changed files with 1376382 additions and 0 deletions

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

@@ -0,0 +1,17 @@
import { getOutDirWithinCwd } from "../core/build/common.js";
import { isServerLikeOutput } from "../core/util.js";
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
};