2

If we do

import(`intl/locale-data/jsonp/${language}.js`);

Then all files in intl/locale-data/jsonp/*.js are compiled to output.

Is there a way to only compile specific locale files if we know that language can only be en or de?

Martin Ždila
  • 2,998
  • 3
  • 31
  • 35

0 Answers0