mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-06 08:13:09 +01:00
8 lines
261 B
TypeScript
8 lines
261 B
TypeScript
import type { GetStaticPaths } from "astro";
|
|
import { isChunkEnabled } from "../../astro/isChunkEnabled";
|
|
|
|
export const getStaticPaths = (() => {
|
|
if (!isChunkEnabled("media")) return [];
|
|
return [{ params: { media: "media" } }];
|
|
}) satisfies GetStaticPaths;
|