16 lines
557 B
JavaScript
16 lines
557 B
JavaScript
|
|
/* jshint node:true */
|
||
|
|
|
||
|
|
'use strict';
|
||
|
|
|
||
|
|
var IntlRelativeFormat = require('./lib/main')['default'];
|
||
|
|
|
||
|
|
// Add all locale data to `IntlRelativeFormat`. This module will be ignored when
|
||
|
|
// bundling for the browser with Browserify/Webpack.
|
||
|
|
require('./lib/locales');
|
||
|
|
|
||
|
|
// Re-export `IntlRelativeFormat` as the CommonJS default exports with all the
|
||
|
|
// locale data registered, and with English set as the default locale. Define
|
||
|
|
// the `default` prop for use with other compiled ES6 Modules.
|
||
|
|
exports = module.exports = IntlRelativeFormat;
|
||
|
|
exports['default'] = exports;
|