From 938ea7ddb449d5bd3688a0f162a7dfec537cf9c7 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Mon, 9 Sep 2024 04:50:37 -0400 Subject: [PATCH] Setup dev server --- package.json | 1 + pnpm-lock.yaml | 3 +++ vite.config.ts | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c3f201f..d461a35 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "@remix-run/serve": "^2.11.2", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", + "express": "^4.19.2", "isbot": "^4.1.0", "lucide-react": "^0.439.0", "react": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4df6478..ba75caf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,6 +56,9 @@ importers: clsx: specifier: ^2.1.1 version: 2.1.1 + express: + specifier: ^4.19.2 + version: 4.19.2 isbot: specifier: ^4.1.0 version: 4.4.0 diff --git a/vite.config.ts b/vite.config.ts index c091a12..20fae2a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,7 +9,8 @@ export default defineConfig({ v3_fetcherPersist: true, v3_relativeSplatPath: true, v3_throwAbortReason: true - } + }, + ssr: true }), tsconfigPaths() ]