Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
"preview": "npm run build && wrangler dev",
"deploy": "npm run build && wrangler deploy"
},
"dependencies": {
"@tailwindcss/vite": "^4.2.1",
Expand All @@ -16,6 +17,7 @@
"tailwindcss": "^4.2.1"
},
"devDependencies": {
"@cloudflare/vite-plugin": "^1.25.5",
"@eslint/js": "^9.39.1",
"@types/node": "^24.10.13",
"@types/react": "^19.2.7",
Expand All @@ -27,6 +29,7 @@
"globals": "^16.5.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"vite": "^7.3.1"
"vite": "^7.3.1",
"wrangler": "^4.68.1"
}
}
9 changes: 4 additions & 5 deletions apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'

import { cloudflare } from "@cloudflare/vite-plugin";

// https://vite.dev/config/
export default defineConfig({
plugins: [
react(),
tailwindcss()
],
})
plugins: [react(), tailwindcss(), cloudflare()],
})
14 changes: 14 additions & 0 deletions apps/frontend/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "valquest",
"compatibility_date": "2025-09-27",
"observability": {
"enabled": true
},
"assets": {
"not_found_handling": "single-page-application"
},
"compatibility_flags": [
"nodejs_compat"
]
}
Loading