Skip to content

Conversation

guoyunhe
Copy link

zh locale is identical to zh-cn, zh-hk should be identical to zh-tw. Unify locales by importing can make bundle size smaller and easier to maintain strings.

@iamkun
Copy link
Owner

iamkun commented Aug 27, 2025

please fix the lint error

@guoyunhe
Copy link
Author

@iamkun fixed

@iamkun
Copy link
Owner

iamkun commented Aug 28, 2025

image After testing the build, I found that the spread operator (...) introduces a lot of compatibility-related JavaScript code in the output, which increases the bundle size. Therefore, it might be better to avoid this change. Although maintaining the source code could be slightly more cumbersome, the resulting bundle size would be more ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants