Skip to content

Commit

Permalink
dev(client): improved build handling
Browse files Browse the repository at this point in the history
  • Loading branch information
TyIsI committed Dec 30, 2024
1 parent 0b00db2 commit c46668f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,16 @@
"service": true
},
"build": {
"command": "vite build"
"command": "vite build",
"files": [
"public/**/*",
"src/**/*",
"index.html",
"vite.config.js"
],
"output": [
"build/**/*"
]
},
"serve": {
"command": "vite preview",
Expand All @@ -75,7 +84,10 @@
"dependencies": [
"build"
],
"command": "rsync -avz ./build/ ../server/public/"
"command": "rsync -avz ./build/ ../server/public/",
"files": [
"build/**/*"
]
}
}
}

0 comments on commit c46668f

Please sign in to comment.