-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: webpack bundle analyzer 설치 * chore: compress webpack plugin 설치 * refactor: 이미지 파일 최적화 * refactor: tree shaking 추가 * refactor: tsconfig.json module commonjs에서 esnext로 변경 * refactor: lazy loading을 활용한 코드 스플리팅 * refactor: IntroPage 이미지 png에서 jpg으로 변경 * refactor: 탈퇴 버튼 수정
- Loading branch information
1 parent
0444cba
commit e15b3ca
Showing
13 changed files
with
522 additions
and
24 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ declare module '*.svg' { | |
} | ||
|
||
declare module '*.png'; | ||
|
||
declare module '*.jpg'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { lazy } from 'react'; | ||
|
||
export const ExpensePage = lazy( | ||
() => import(/* webpackChunkName: "ExpensePage" */ '@pages/ExpensePage/ExpensePage') | ||
); | ||
|
||
export const IntroPage = lazy( | ||
() => import(/* webpackChunkName: "IntroPage" */ '@pages/IntroPage/IntroPage') | ||
); | ||
|
||
export const LogInPage = lazy( | ||
() => import(/* webpackChunkName: "LogInPage" */ '@pages/LogInPage/LogInPage') | ||
); | ||
|
||
export const MyPage = lazy(() => import(/* webpackChunkName: "MyPage" */ '@pages/MyPage/MyPage')); | ||
|
||
export const SharedPage = lazy( | ||
() => import(/* webpackChunkName: "SharedPage" */ '@pages/SharedPage/SharedPage') | ||
); | ||
|
||
export const TripCreatePage = lazy( | ||
() => import(/* webpackChunkName: "TripCreatePage" */ '@pages/TripCreatePage/TripCreatePage') | ||
); | ||
|
||
export const TripEditPage = lazy( | ||
() => import(/* webpackChunkName: "TripEditPage" */ '@pages/TripEditPage/TripEditPage') | ||
); | ||
|
||
export const TripPage = lazy( | ||
() => import(/* webpackChunkName: "TripPage" */ '@pages/TripPage/TripPage') | ||
); | ||
|
||
export const TripsPage = lazy( | ||
() => import(/* webpackChunkName: "TripsPage" */ '@pages/TripsPage/TripsPage') | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters