Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] env 개발 환경 분리하기 #448

Merged
merged 3 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ dist-ssr
*.sln
*.sw?

.env
.env
.env.makers
.env.sopt
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"type": "module",
"scripts": {
"dev": "vite",
"dev:makers": "vite --mode makers",
"dev:sopt": "vite --mode sopt",
"build": "tsc && vite build",
"build:makers": "tsc && NODE_ENV=makers vite build --mode makers",
"build:sopt": "tsc && NODE_ENV=sopt vite build --mode sopt",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"test": "vitest"
Expand Down Expand Up @@ -63,4 +67,4 @@
"vite": "^5.2.0",
"vitest": "^2.0.5"
}
}
}