enterprise: General: Error building locale
Describe the bug Including locale in a custom build is giving an error.
To Reproduce Steps to reproduce the behavior:
- Pull master
- run
npm run build -- --components=locale
- see error
[!] Error: 'AfZa' is not exported by src\components\locale\cultures\af-za.js, imported by temp\components.js
Expected behavior Should be able to generate a build that includes locale
Version
- ids-enterprise: 4.27.x
Platform
- Windows
Additional context We’ve always been building locale as a component on one of our pages… is that even necessary?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (15 by maintainers)
Thanks guys! Just had our first fully successful build using 4.28.x!
Yeah, we do use it directly, isRTL(), setting the locale manually, getting the calendar(), things like that.