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

Refactor: 번들 사이즈 최적화 #98

Merged
merged 37 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
fd2e237
build: svg 타입 지정
hyobb109 Oct 23, 2024
41fe30c
build: svgr/webpack 설치
hyobb109 Oct 23, 2024
91406f4
fix: react-native-web svg 로드 설정 수정 및 적용
hyobb109 Oct 23, 2024
867d167
refactor: vector icons svg로 교체
hyobb109 Oct 23, 2024
c8a061c
fix: svg fill 수정 및 아이콘 추가
hyobb109 Oct 23, 2024
0cc75d8
refactor: setting, close icon svg로 교체
hyobb109 Oct 25, 2024
3cf043d
reafactor: memo 추가
hyobb109 Oct 25, 2024
b34a3dc
refactor: apple icon svg로 교체
hyobb109 Oct 25, 2024
3ff1138
fix: svg color 수정
hyobb109 Oct 26, 2024
b08ca22
fix: android color value 오류 수정
hyobb109 Oct 26, 2024
4b22dee
refactor: tab icon 헤더 수정
hyobb109 Oct 26, 2024
4c6dbee
design: close icon size 수정
hyobb109 Oct 26, 2024
052c49a
fix: mail svg stroke color 수정
hyobb109 Oct 26, 2024
ce3622d
chore: 사용하지 않는 폰트 파일 삭제
hyobb109 Oct 26, 2024
5a6a3c2
Merge branch 'main' of github.com:DearMyPeace/simsim-client into SS-9…
hyobb109 Oct 26, 2024
089cbbf
refactor: 폰트 cdn으로 수정
hyobb109 Oct 26, 2024
8339cc6
build: ttf load 제외
hyobb109 Oct 26, 2024
46c9e05
refactor: background public에서 삭제
hyobb109 Oct 26, 2024
e8f1496
chore: 사용하지 않는 import 삭제
hyobb109 Oct 26, 2024
047b3a6
chore: react-native-vector-icons 삭제
hyobb109 Oct 26, 2024
af8cd29
refactor: MainNavigator lazy loading
hyobb109 Oct 27, 2024
786c582
chore: png type declaration
hyobb109 Oct 27, 2024
453f4ee
refactor: local font로 변경
hyobb109 Oct 28, 2024
a82cb2e
refactor: custom refresh control centered prop 추가
hyobb109 Oct 28, 2024
81a3914
fix: Suspense 로딩 컴포넌트 추가
hyobb109 Oct 28, 2024
31fd51b
refactor: setting navigator lazy loading
hyobb109 Oct 28, 2024
e8f8c34
fix: tabbar icon prop 타입 수정
hyobb109 Oct 28, 2024
bbcc916
refacotr: tab lazy loading 적용
hyobb109 Oct 28, 2024
0f28fd0
fix: type error 수정
hyobb109 Oct 28, 2024
ccdbd08
refactor: background image 교체
hyobb109 Oct 28, 2024
bf55eca
build: asset 변경 적용
hyobb109 Oct 28, 2024
a507be4
build: webpack-bundle-analyzer 설치, vector icon 삭제
hyobb109 Oct 29, 2024
fe15448
build: webpack bundle analyzer 설정
hyobb109 Oct 29, 2024
70d6ab2
build: bundle 분석 스크립트 추가
hyobb109 Oct 29, 2024
d256ab0
refactor: date fns locale 대신 유틸 구현
hyobb109 Oct 29, 2024
6104b19
chore: analyzer 주석
hyobb109 Oct 29, 2024
63017b3
Merge branch 'main' of github.com:DearMyPeace/simsim-client into SS-9…
hyobb109 Nov 1, 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
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ web-cc:
web-build:
npm run build

web-analyze:
npm run analyze

npm:
sudo npm install

Expand Down
14 changes: 1 addition & 13 deletions android/link-assets-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,9 @@
"path": "src/assets/fonts/GowunBatang-Regular.ttf",
"sha1": "0890c3177713ad080ba7d276f54dba79055dc73d"
},
{
"path": "src/assets/fonts/Inder-Regular.ttf",
"sha1": "9a6b94bc6dfaf51efe3b7de6ab993715ef0c709d"
},
{
"path": "src/assets/fonts/Kalam-Bold.ttf",
"sha1": "f26d7a15c244acc238950d3ef6e4733e8b3acc36"
},
{
"path": "src/assets/fonts/Kalam-Light.ttf",
"sha1": "15f2a1bfe1709984d8e30274fae2c5aa4986fdac"
},
{
"path": "src/assets/fonts/Kalam-Regular.ttf",
"sha1": "4dd809bd7c5d2c6ae83f5e35cc93119df3e05307"
},
}
]
}
13 changes: 13 additions & 0 deletions declaration.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// declaration.d.ts

declare module '*.svg' {
import React from 'react';
import { SvgProps } from 'react-native-svg';
const content: React.FC<SvgProps>;
export default content;
}

declare module '*.png' {
const value: string;
export default value;
}
84 changes: 0 additions & 84 deletions ios/dearmypeace.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

166 changes: 72 additions & 94 deletions ios/dearmypeace/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,99 +2,77 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>dearmypeace</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.gt.apps.secretKEY</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>dear-my-peace.site</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Octicons.ttf</string>
<string>Zocial.ttf</string>
<string>Fontisto.ttf</string>
<string>GowunBatang-Bold.ttf</string>
<string>GowunBatang-Regular.ttf</string>
<string>Inder-Regular.ttf</string>
<string>FontAwesome6_Brands.ttf</string>
<string>FontAwesome6_Regular.ttf</string>
<string>FontAwesome6_Solid.ttf</string>
<string>Kalam-Bold.ttf</string>
<string>Kalam-Light.ttf</string>
<string>Kalam-Regular.ttf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>dearmypeace</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.gt.apps.secretKEY</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>dear-my-peace.site</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string/>
<key>UIAppFonts</key>
<array>
<string>GowunBatang-Bold.ttf</string>
<string>GowunBatang-Regular.ttf</string>
<string>Kalam-Bold.ttf</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>
88 changes: 0 additions & 88 deletions ios/link-assets-manifest.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,6 @@
{
"migIndex": 1,
"data": [
{
"path": "src/assets/fonts/AntDesign.ttf",
"sha1": "4e77868439280fb434d4697c7b911271406c81f3"
},
{
"path": "src/assets/fonts/Entypo.ttf",
"sha1": "12b5670eb178138f77285d5f2c246d3cc5fa67d6"
},
{
"path": "src/assets/fonts/EvilIcons.ttf",
"sha1": "91d377ea3cf47490b256c2ed081704a7dabdae0c"
},
{
"path": "src/assets/fonts/Feather.ttf",
"sha1": "e6604258b1ced5efd51360875d782fca65381d47"
},
{
"path": "src/assets/fonts/FontAwesome.ttf",
"sha1": "13b1eab65a983c7a73bc7997c479d66943f7c6cb"
},
{
"path": "src/assets/fonts/FontAwesome5_Brands.ttf",
"sha1": "3fa2d67cef22da5c3f3eb5730c6afbd6fecf0372"
},
{
"path": "src/assets/fonts/FontAwesome5_Regular.ttf",
"sha1": "7d849a3981a716e2ba4a84634bc57d0b8054a6a3"
},
{
"path": "src/assets/fonts/FontAwesome5_Solid.ttf",
"sha1": "c1b9fae262f42868c075ac865a8ab34920e20a2c"
},
{
"path": "src/assets/fonts/FontAwesome6_Brands.ttf",
"sha1": "d8b3568e9d8a1d3c01c85520eb9ca0b49b72815d"
},
{
"path": "src/assets/fonts/FontAwesome6_Regular.ttf",
"sha1": "2d7890e12afb77490112ec57fe47ca0688aebda2"
},
{
"path": "src/assets/fonts/FontAwesome6_Solid.ttf",
"sha1": "e9ace557c3aa403307f1e7a2cef1c035d522b94b"
},
{
"path": "src/assets/fonts/Fontisto.ttf",
"sha1": "c090a3ec96a3f1bb9b615c2f3f204ce0dcdcdbc3"
},
{
"path": "src/assets/fonts/Foundation.ttf",
"sha1": "4b2bce6c792493a4a5716b6fec2dbefe89492c3f"
},
{
"path": "src/assets/fonts/GowunBatang-Bold.ttf",
"sha1": "d1ecb653e88ef67d1ee603249c5c14df30bfbdea"
Expand All @@ -61,45 +9,9 @@
"path": "src/assets/fonts/GowunBatang-Regular.ttf",
"sha1": "0890c3177713ad080ba7d276f54dba79055dc73d"
},
{
"path": "src/assets/fonts/Inder-Regular.ttf",
"sha1": "9a6b94bc6dfaf51efe3b7de6ab993715ef0c709d"
},
{
"path": "src/assets/fonts/Ionicons.ttf",
"sha1": "86e07c3d974eb09099e6e5a9b3b8310303cf0feb"
},
{
"path": "src/assets/fonts/Kalam-Bold.ttf",
"sha1": "f26d7a15c244acc238950d3ef6e4733e8b3acc36"
},
{
"path": "src/assets/fonts/Kalam-Light.ttf",
"sha1": "15f2a1bfe1709984d8e30274fae2c5aa4986fdac"
},
{
"path": "src/assets/fonts/Kalam-Regular.ttf",
"sha1": "4dd809bd7c5d2c6ae83f5e35cc93119df3e05307"
},
{
"path": "src/assets/fonts/MaterialCommunityIcons.ttf",
"sha1": "4c2a838b00dbb5e8bb1b368fce0de534e8eb241c"
},
{
"path": "src/assets/fonts/MaterialIcons.ttf",
"sha1": "7e02c3f005532ff4d24148567c84089756a7848a"
},
{
"path": "src/assets/fonts/Octicons.ttf",
"sha1": "56acefc0731f35ee23b195b1c8cb5fa94a0db97b"
},
{
"path": "src/assets/fonts/SimpleLineIcons.ttf",
"sha1": "9ffb81a5a11112e292f2cc323e98486bad597599"
},
{
"path": "src/assets/fonts/Zocial.ttf",
"sha1": "6a48a962b06cc3acbdfd61df0d9a34744eea5e8d"
}
]
}
Loading
Loading