mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 19:01:35 +01:00
20 lines
409 B
TypeScript
20 lines
409 B
TypeScript
|
|
import { randomUUID } from "node:crypto";
|
||
|
|
import { mkdir, writeFile } from "node:fs/promises";
|
||
|
|
import { extname, join, relative } from "node:path";
|
||
|
|
|
||
|
|
export const load = async ({ parent }) => {
|
||
|
|
const { website } = await parent();
|
||
|
|
|
||
|
|
return {
|
||
|
|
website
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
export const actions = {
|
||
|
|
publishWebsite: async ({ fetch }) => {
|
||
|
|
console.log("test");
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
const generateWebsiteOutput = async () => {};
|