Repository URL to install this package:
|
Version:
5.0.0-rc.11 ▾
|
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var _commonjsHelpers = require('../../_virtual/_commonjsHelpers.js');
var core = require('./lib/core.js');
require('./locale-data/complete.js');
// Expose `IntlPolyfill` as global to add locale data into runtime later on.
_commonjsHelpers.commonjsGlobal.IntlPolyfill = core.default;
// Require all locale data for `Intl`. This module will be
// ignored when bundling for the browser with Browserify/Webpack.
// hack to export the polyfill as global Intl if needed
if (!_commonjsHelpers.commonjsGlobal.Intl) {
_commonjsHelpers.commonjsGlobal.Intl = _commonjsHelpers.commonjsGlobal.IntlPolyfill;
_commonjsHelpers.commonjsGlobal.IntlPolyfill.__applyLocaleSensitivePrototypes();
}
// providing an idiomatic api for the nodejs version of this module
var intl = _commonjsHelpers.commonjsGlobal.IntlPolyfill;
exports.__moduleExports = intl;
exports.default = intl;
exports.index = index;
//# sourceMappingURL=index.js.map