We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddcc788 + e674757 commit 1e3ab9fCopy full SHA for 1e3ab9f
src/wrap-page.js
@@ -11,12 +11,12 @@ const polyfillIntl = (language) => {
11
try {
12
if (!Intl.PluralRules) {
13
require("@formatjs/intl-pluralrules/polyfill")
14
- require(`@formatjs/intl-pluralrules/dist/locale-data/${locale}`)
+ require(`@formatjs/intl-pluralrules/locale-data/${locale}`)
15
}
16
17
if (!Intl.RelativeTimeFormat) {
18
require("@formatjs/intl-relativetimeformat/polyfill")
19
- require(`@formatjs/intl-relativetimeformat/dist/locale-data/${locale}`)
+ require(`@formatjs/intl-relativetimeformat/locale-data/${locale}`)
20
21
} catch (e) {
22
throw new Error(`Cannot find react-intl/locale-data/${language}`)
0 commit comments