@ember-intl/intl-relativeformat
Version:
Formats JavaScript dates to relative time strings.
16 lines (11 loc) • 557 B
JavaScript
/* jshint node:true */
;
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;