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:

  1. Pull master
  2. run npm run build -- --components=locale
  3. 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)

Most upvoted comments

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.