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

chore: msw 설치, 세팅 & 리뷰, 여행기에 적용 #10

Merged
merged 17 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
053dc32
feat: place api 연결
dev-yun Apr 10, 2024
1a506a2
feat: home page에서 여행지, 도시, 테마별 컴포넌트 구현
dev-yun Apr 10, 2024
f78550b
refactor: PlaceList component refactor, main에서 공통으로 사용될 title Wrapper…
dev-yun Apr 13, 2024
a570eee
feat: review, travel story card style 수정
dev-yun Apr 13, 2024
63a5ceb
feat: feat: main page에 review, travel story component 추가
dev-yun Apr 13, 2024
779ce48
feat: main page 각 section 별 '더보기' anchor tag 추가
dev-yun Apr 13, 2024
5c5f7ae
style: 도시, 여행지, 테마 별 img 크기 design에 맞게 수정
dev-yun Apr 13, 2024
a15b0c7
feat: home header component 추가
dev-yun Apr 13, 2024
f4ac781
feat: searchPlace 검색 component 추가
dev-yun Apr 13, 2024
1c14cd6
feat: mobile bottom navigation 구현
dev-yun Apr 14, 2024
dcaa5b6
feat: 화면에서 미리 보이는 next/image에 priority 속성 추가
dev-yun Apr 14, 2024
6869e51
chore: cdn font -> next/font/local로 변경
dev-yun Apr 22, 2024
9d27532
fix: 첫 렌더링 시 화면에 보이는 이미지만 preload하도록 코드 수정
dev-yun Apr 22, 2024
85995df
fix: 헝가리안 interface naming을 사용하지 않도록 수정
dev-yun Apr 22, 2024
e03a87b
chore: jest moking을 위한 msw 설치, 세팅 & 간단한 get handler 추가
dev-yun Apr 14, 2024
efc1cc7
feat: review, travel story의 hard coding data를 msw response 값으로 변경
dev-yun Apr 14, 2024
4e1f010
refactor: main components를 세부 폴더로 분리
dev-yun Apr 23, 2024
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
20 changes: 20 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,26 @@ const nextConfig = {
},
],
},
experimental: {
instrumentationHook: true,
},
webpack(config, { isServer }) {
if (isServer) {
if (Array.isArray(config.resolve.alias)) {
config.resolve.alias.push({ name: "msw/browser", alias: false });
} else {
config.resolve.alias["msw/browser"] = false;
}
} else {
if (Array.isArray(config.resolve.alias)) {
config.resolve.alias.push({ name: "msw/node", alias: false });
} else {
config.resolve.alias["msw/node"] = false;
}
}

return config;
},
};

export default nextConfig;
Loading