fix(wails): add build:dev script for wails3 dev
Wails dev mode runs npm run build:dev before starting the app. Add the script expected by the Taskfile so wails3 dev succeeds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
25052ff74d
commit
286167d4a6
1 file changed
+2
-1
@@ -5,7 +5,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build && cp -r ../assets dist/assets",
|
||||
"build:dev": "vite build --minify false --mode development && cp -r ../assets dist/assets",
|
||||
"build": "vite build --mode production && cp -r ../assets dist/assets",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user