feat: support cf workers

Note: we don't really want to be committing the gql-client. it is a stopgap.
This commit is contained in:
Eric Lewis
2024-04-24 09:59:47 -04:00
parent 4aac93b504
commit aea6bfde54
15 changed files with 2921 additions and 491 deletions
+3 -2
View File
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "tsc && vite build",
"build": "vite build",
"lint": "tsc --noEmit",
"preview": "vite preview"
},
@@ -66,6 +66,7 @@
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@types/lodash": "^4.17.0",
"@types/jest": "^27.5.2",
"@types/luxon": "^3.3.7",
"@types/node": "^16.18.68",
@@ -80,4 +81,4 @@
"typescript": "^5.3.3",
"vite": "^5.2.0"
}
}
}
-3
View File
@@ -12,9 +12,6 @@ export default defineConfig({
components: "/src/components",
},
},
define: {
"process.env": "import.meta.env",
},
optimizeDeps: {
include: [
// "@snowballtools/types",