Compare commits

..

No commits in common. "1ff0acbaf8c82328e84c1d90502c08b9c9975c03" and "6c926855e2cac4a1492be806fe1b3a312cac707a" have entirely different histories.

3 changed files with 2 additions and 6 deletions

View file

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

View file

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

View file

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