]> cat aescling's git repositories - mastodon.git/commit
Fix react-intl/locale-data import issue on production build (#3937)
authorunarist <m.unarist@gmail.com>
Sun, 25 Jun 2017 10:49:53 +0000 (19:49 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 25 Jun 2017 10:49:53 +0000 (12:49 +0200)
commit68dca26a5d36eacb7d7e691635a14b6562ba7cf1
treec5fdeaeadbf0bd5f862258100e8e7cd6f1b7e822
parent1fc096ec7598e688b1cd804188575a853ac84541
Fix react-intl/locale-data import issue on production build (#3937)

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.
config/webpack/loaders/babel.js