-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
- Loading branch information
1 parent
1618249
commit 98924d4
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Common imports that are required for all platforms | ||
*/ | ||
|
||
function polyfillNumberFormat() { | ||
require('@formatjs/intl-numberformat/polyfill-force'); | ||
|
||
// Load en & es Locale data | ||
require('@formatjs/intl-numberformat/locale-data/en'); | ||
require('@formatjs/intl-numberformat/locale-data/es'); | ||
} | ||
|
||
export default polyfillNumberFormat; |