Compare commits
No commits in common. "1ff0acbaf8c82328e84c1d90502c08b9c9975c03" and "6c926855e2cac4a1492be806fe1b3a312cac707a" have entirely different histories.
1ff0acbaf8
...
6c926855e2
3 changed files with 2 additions and 6 deletions
|
@ -5,8 +5,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "./render.sh",
|
||||
"build:targets": "yarn build:client && yarn build:server",
|
||||
"build": "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 .",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
yarn "build:targets"
|
||||
yarn build
|
||||
|
||||
PROD='dist/prod'
|
||||
rm -r "$PROD"
|
||||
|
|
|
@ -22,7 +22,4 @@ export default defineConfig({
|
|||
},
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue