🏗️(app-desk) export app in out folder

We export the app in the out folder. This is a static export,
so our app can be deployed and hosted
on any web server that can serve HTML/CSS/JS static assets.
This commit is contained in:
Anthony LC
2024-01-17 16:29:16 +01:00
committed by Anthony LC
parent c6823ba698
commit 9ee39e1068
4 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export default defineConfig({
},
webServer: {
command: `cd ../.. && yarn app:${process.env.CI ? "start" : "dev"} --port ${PORT}`,
command: `cd ../.. && yarn app:${process.env.CI ? "start -p " : "dev --port "} ${PORT}`,
url: baseURL,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,