feat: add app dev mode

This commit is contained in:
Yidadaa
2023-06-15 01:48:56 +08:00
parent 184a0b9481
commit 80d5bfd7c0
3 changed files with 11 additions and 4 deletions

View File

@@ -1,14 +1,14 @@
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
"beforeBuildCommand": "yarn build",
"beforeDevCommand": "yarn dev",
"beforeBuildCommand": "yarn export",
"beforeDevCommand": "yarn export:dev",
"devPath": "http://localhost:3000",
"distDir": "../out"
},
"package": {
"productName": "chatgpt-next-web",
"version": "2.8"
"version": "2.8.1"
},
"tauri": {
"allowlist": {