1 | import IntlPolyfill from "./core.js";
|
2 |
|
3 | // hack to export the polyfill as global Intl if needed
|
4 | if (typeof Intl === 'undefined') {
|
5 | try {
|
6 | window.Intl = IntlPolyfill;
|
7 | IntlPolyfill.__applyLocaleSensitivePrototypes();
|
8 | } catch (e) {
|
9 | // can be read only property
|
10 | }
|
11 | }
|
12 |
|
13 | export default IntlPolyfill;
|