mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
* chore: fix various intl stuff - remove intl-locales-supported & intl since they're deprecated and only needed for IE11 - add new polyfills for node 12 - clean up babel intl extractor - reset jest test timezone to UTC so it passes even for East Coast contributor * chore: change build to include Node 14 * docs: update i18n reqs
19 lines
779 B
JavaScript
19 lines
779 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
require('@formatjs/intl-pluralrules/polyfill');
|
|
require('@formatjs/intl-pluralrules/locale-data/en');
|
|
require('@formatjs/intl-pluralrules/locale-data/fr');
|
|
|
|
require('@formatjs/intl-numberformat/polyfill');
|
|
require('@formatjs/intl-numberformat/locale-data/en');
|
|
require('@formatjs/intl-numberformat/locale-data/fr');
|
|
|
|
require('@formatjs/intl-datetimeformat/polyfill');
|
|
require('@formatjs/intl-datetimeformat/add-all-tz');
|
|
require('@formatjs/intl-datetimeformat/locale-data/en');
|
|
require('@formatjs/intl-datetimeformat/locale-data/fr');
|