Compare commits

...

2 commits

Author SHA1 Message Date
1ff0acbaf8
Use yarn build 2025-02-15 13:32:42 -05:00
23d61ee1b0
Fix local development on Linux 2025-02-15 13:31:31 -05:00
3 changed files with 6 additions and 2 deletions

View file

@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "yarn build:client && yarn build:server",
"build": "./render.sh",
"build:targets": "yarn build:client && yarn build:server",
"build:client": "tsc -b && vite build --outDir dist/client",
"build:server": "tsc -b && vite build --outDir dist/server --ssr src/entry-server.tsx",
"lint": "eslint .",

View file

@ -1,5 +1,5 @@
#!/bin/sh
yarn build
yarn "build:targets"
PROD='dist/prod'
rm -r "$PROD"

View file

@ -22,4 +22,7 @@ export default defineConfig({
},
}),
],
server: {
host: "127.0.0.1",
},
});