dev 스크립트 추가 — dev:local-api, dev:log:local-api (localhost:8080 API 전환용)
This commit is contained in:
parent
6f41e127bc
commit
27ee53c350
@ -33,4 +33,5 @@ NEXT_PUBLIC_AWS_S3_BASE_URL="//files.hanasys.jp"
|
|||||||
S3_PROFILE="dev"
|
S3_PROFILE="dev"
|
||||||
|
|
||||||
#logging
|
#logging
|
||||||
NEXT_PUBLIC_ENABLE_LOGGING=false
|
# [debug auto-capture 2026-05-06] true 로 켜면 debugCapture 가 debug/*.json/*.log 로 자동 저장.
|
||||||
|
NEXT_PUBLIC_ENABLE_LOGGING=true
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -24,6 +24,9 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
# [debug auto-capture 2026-05-06] debugCapture 산출물 / dev 서버 stdout
|
||||||
|
debug/
|
||||||
|
dev.log
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env*.local
|
.env*.local
|
||||||
|
|||||||
@ -4,6 +4,9 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "env-cmd -f .env.localhost next dev",
|
"dev": "env-cmd -f .env.localhost next dev",
|
||||||
|
"dev:log": "env-cmd -f .env.localhost next dev 2>&1 | tee dev.log",
|
||||||
|
"dev:local-api": "NEXT_PUBLIC_API_SERVER_PATH=http://localhost:8080 env-cmd --no-override -f .env.localhost next dev",
|
||||||
|
"dev:log:local-api": "NEXT_PUBLIC_API_SERVER_PATH=http://localhost:8080 env-cmd --no-override -f .env.localhost next dev 2>&1 | tee dev.log",
|
||||||
"local:dev": "env-cmd -f .env.local.dev next dev",
|
"local:dev": "env-cmd -f .env.local.dev next dev",
|
||||||
"build": "env-cmd -f .env.production next build",
|
"build": "env-cmd -f .env.production next build",
|
||||||
"build:dev": "env-cmd -f .env.development next build",
|
"build:dev": "env-cmd -f .env.development next build",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user