diff --git a/Makefile b/Makefile index f833e2a..f68ff47 100644 --- a/Makefile +++ b/Makefile @@ -33,16 +33,24 @@ build-staging: ## Build for staging environment with zip packaging pnpm run build:staging @echo "Creating deployment package..." $(eval VERSION := $(shell node -p "require('./package.json').version")) - cd build && zip -r ../dist/nice-app-web-staging-$(VERSION).zip . && cd .. + cd build && zip -r ./dist/nice-app-web-staging-$(VERSION).zip . && cd .. @echo "Deployment package created: nice-app-web-staging-$(VERSION).zip" +build-dev: ## Build for production with zip packaging + pnpm run build + @echo "Creating development deployment package..." + $(eval VERSION := $(shell node -p "require('./package.json').version")) + cd build && zip -r ./dist/nice-app-web-development-$(VERSION).zip . && cd .. + @echo "Deployment package created: nice-app-web-production-$(VERSION).zip" + build-production: ## Build for production with zip packaging pnpm run build @echo "Creating production deployment package..." $(eval VERSION := $(shell node -p "require('./package.json').version")) - cd build && zip -r ../dist/nice-app-web-production-$(VERSION).zip . && cd .. + cd build && zip -r ./dist/nice-app-web-production-$(VERSION).zip . && cd .. @echo "Deployment package created: nice-app-web-production-$(VERSION).zip" + preview: ## Preview production build pnpm run preview diff --git a/src/entities/home/ui/home-notice-item.tsx b/src/entities/home/ui/home-notice-item.tsx index d2f8840..c869d0e 100644 --- a/src/entities/home/ui/home-notice-item.tsx +++ b/src/entities/home/ui/home-notice-item.tsx @@ -29,7 +29,7 @@ export const HomeNoticeItem = ({ >
{ noticeItem.title }
-
{ t(`support.notice.categories.${noticeItem.informCl}`) }{ noticeItem.regDt? moment(noticeItem.regDt).format('YY년 MM월 DD일'): '' }
+
{ t(`support.notice.categories.${noticeItem.informCl}`) }{ noticeItem.regDt? moment(noticeItem.regDt).format('YYYY.MM.DD'): '' }