You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(FR-1233): change to import local values in the es modular way (#3932)
resolves#3928 (FR-1233)
Updates all locale imports in the UI package to use the ES module path (`antd/es/locale/*`) instead of the CommonJS path (`antd/locale/*`). This change ensures consistent module resolution and better tree-shaking for the Ant Design locale files.
Also adds a check in the vite.config.ts to skip the index file when processing locale entries.
**Checklist:** (if applicable)
- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after
0 commit comments