Skip to content

Commit 7409832

Browse files
committed
fix: 배포 설정 수정
1 parent 38a0bbf commit 7409832

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ storybook-static
3939
.yarn/cache
4040
.yarn/install-state.gz
4141
!.yarn/releases
42+
43+
# Vercel
44+
.vercel

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"type": "module",
66
"packageManager": "yarn@4.10.3",
77
"scripts": {
8-
"dev": "vite",
9-
"build": "tsc -b && vite build",
8+
"dev": "react-router dev",
9+
"build": "react-router build",
1010
"lint": "eslint .",
1111
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
1212
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",

react-router.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import type { Config } from '@react-router/dev/config';
33

44
export default {
55
appDirectory: 'src/app',
6-
ssr: true,
6+
ssr: false,
77
presets: [vercelPreset()],
88
} satisfies Config;

0 commit comments

Comments
 (0)