diff --git a/src/wrap-page.js b/src/wrap-page.js index 933e09f..345dbb3 100644 --- a/src/wrap-page.js +++ b/src/wrap-page.js @@ -11,12 +11,12 @@ const polyfillIntl = (language) => { try { if (!Intl.PluralRules) { require("@formatjs/intl-pluralrules/polyfill") - require(`@formatjs/intl-pluralrules/dist/locale-data/${locale}`) + require(`@formatjs/intl-pluralrules/locale-data/${locale}`) } if (!Intl.RelativeTimeFormat) { require("@formatjs/intl-relativetimeformat/polyfill") - require(`@formatjs/intl-relativetimeformat/dist/locale-data/${locale}`) + require(`@formatjs/intl-relativetimeformat/locale-data/${locale}`) } } catch (e) { throw new Error(`Cannot find react-intl/locale-data/${language}`)