mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
## Description **What(what issue does this code solve/what feature does it add):** Add a qwik project where we can add API(s) and a frontend which will be used to review and deploy to AWS our docker containers for testing. **How(how does it solve it):** 1. Initialise a qwik project at `apps/www` ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
17 lines
485 B
TypeScript
17 lines
485 B
TypeScript
import { vercelEdgeAdapter } from "@builder.io/qwik-city/adapters/vercel-edge/vite";
|
|
import { extendConfig } from "@builder.io/qwik-city/vite";
|
|
import baseConfig from "../../vite.config";
|
|
|
|
export default extendConfig(baseConfig, () => {
|
|
return {
|
|
build: {
|
|
ssr: true,
|
|
rollupOptions: {
|
|
input: ["src/entry.vercel-edge.tsx", "@qwik-city-plan"],
|
|
},
|
|
outDir: ".vercel/output/functions/_qwik-city.func",
|
|
},
|
|
plugins: [vercelEdgeAdapter()],
|
|
};
|
|
});
|