feat: local debugging with wrangler

Signed-off-by: Tom Plant <[email protected]>
This commit is contained in:
Tom Plant committed 2024-01-14 08:12:02 +00:00
1 parent 1e183247cf
commit 3b20472433
8 files changed
+6165 -101

No files matched your search

+2
View File
@@ -4,6 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"preview": "npx @cloudflare/next-on-pages && wrangler pages dev .vercel/output/static --compatibility-flag nodejs_compat --kv UPTIMEFLARE_STATE",
"build": "next build",
"start": "next start",
"lint": "next lint"
@@ -25,6 +26,7 @@
"react-dom": "^18"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.8.5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",