feat: create deployment scripts
This commit is contained in:
parent
78297efe5c
commit
8d5bce4bfb
22 changed files with 2697 additions and 74 deletions
24
frontend/adapters/static/vite.config.ts
Normal file
24
frontend/adapters/static/vite.config.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
],
|
||||
}),
|
||||
],
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue