21 lines
577 B
TypeScript
21 lines
577 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",
|
|
},
|
|
|
|
});
|