24 lines
608 B
TypeScript
24 lines
608 B
TypeScript
|
|
import { staticAdapter } from "@builder.io/qwik-city/adapters/static/vite";
|
||
|
|
import { extendConfig } from "@builder.io/qwik-city/vite";
|
||
|
|
import baseConfig from "../../vite.config";
|
||
|
|
|
||
|
|
export default extendConfig(baseConfig, () => {
|
||
|
|
return {
|
||
|
|
build: {
|
||
|
|
ssr: true,
|
||
|
|
rollupOptions: {
|
||
|
|
input: ["@qwik-city-plan"],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
plugins: [
|
||
|
|
staticAdapter({
|
||
|
|
origin: "https://peoplesgrocers.com",
|
||
|
|
// Specify which routes to statically generate
|
||
|
|
routes: [
|
||
|
|
"/about",
|
||
|
|
// Add more static routes here as needed
|
||
|
|
],
|
||
|
|
}),
|
||
|
|
],
|
||
|
|
};
|
||
|
|
});
|