muddle/ct.config.ts
2026-10-23 09:12:49 -04:00

18 lines
570 B
TypeScript

import { defineConfig } from "./contracts";
import { stcssIntegration } from "./views/integrations.ts";
export default defineConfig({
root: import.meta.dir,
entry: "samples/hello-world/index.ts",
views: "samples/hello-world/modules/app/views",
components: "samples/hello-world/modules/app/views/components",
viewRoots: ["samples/hello-world/modules/app/views"],
integrations: [stcssIntegration({ dir: "samples/hello-world/styles" })],
prerender: {
routes: ["/", "/posts/test1", "/posts/test2", "/posts/test3"],
outDir: "samples/hello-world/dist",
},
});