Skip to content
Snippets Groups Projects
  • unarist's avatar
    68dca26a
    Fix react-intl/locale-data import issue on production build (#3937) · 68dca26a
    unarist authored
    Webpack seems to fail to import `react-intl/locale-data/*.js` if those
    files has been proceed by babel, and this also breaks applying our translation.
    
    Note that this won't be a problem on English locale, because react-intl
    includes it as default and works fine without manually added locale-data.
    Also this issue seems to only occurs on production build, but I'm not sure
    about reason.
    68dca26a
    History
    Fix react-intl/locale-data import issue on production build (#3937)
    unarist authored
    Webpack seems to fail to import `react-intl/locale-data/*.js` if those
    files has been proceed by babel, and this also breaks applying our translation.
    
    Note that this won't be a problem on English locale, because react-intl
    includes it as default and works fine without manually added locale-data.
    Also this issue seems to only occurs on production build, but I'm not sure
    about reason.