Added wrangler support.

This commit is contained in:
Tom Butcher 2025-12-13 21:05:03 +00:00
parent 1486790292
commit 045948dbcc
2 changed files with 6 additions and 1 deletions

View File

@ -77,7 +77,8 @@
"start": "serve -s build",
"build": "vite build",
"dev:electron": "concurrently \"cross-env NODE_ENV=development vite --no-open\" \"cross-env ELECTRON_START_URL=http://localhost:5173 cross-env NODE_ENV=development electron public/electron.js\"",
"build:electron": "vite build && electron-builder"
"build:electron": "vite build && electron-builder",
"deploy": "vite build && wrangler pages deploy"
},
"eslintConfig": {
"extends": [

4
wrangler.jsonc Normal file
View File

@ -0,0 +1,4 @@
{
"name": "farmcontrol-ui",
"pages_build_output_dir": "./build"
}