fix(dev): proxy api during react development

This commit is contained in:
vince 2026-06-20 00:10:26 +02:00
parent b1d196e4ca
commit b8e39348e8
11 changed files with 196 additions and 8 deletions

View file

@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"dev": "bun src/server/dev.ts",
"build": "vite build && bun build src/server/index.ts --target bun --outdir build",
"preview": "HOST=0.0.0.0 PORT=4173 bun build/index.js",
"storybook": "storybook dev -p 6006 --host 0.0.0.0",