Commit Graph
7 Commits
Author SHA1 Message Date
Ray Schamp a40401b882 Update babel plugins
Also include babel-core bridge for Jest itself, which depends on Babel 6.
2018-10-17 14:19:09 +01:00
Ray Schamp b8e00fd8e4 Update babelrc for jest/enzyme 2018-10-17 14:18:21 +01:00
Michael "Z" Goddard 87e8e2f18d Add missing quotes to .babelrc configuration 2018-05-14 11:38:45 -04:00
Michael "Z" Goddard 4b83181487 Replace babel-preset-es2015 with babel-preset-env 2018-05-07 14:52:10 -04:00
Paul Kaplan 041d7bac87 Add babelrc support for async/await 2017-08-09 12:36:41 -04:00
chrisgarrity 2dd3782746 handle messages better
Dynamic import didn’t do what we wanted, so just added `npm run i18n:msgs` to the start command. This is just temporary. Other changes as requested:
* exports in one place
* loc=> locale

Also fixed use of require for localeData to use dynamic import (this one works), so the babelrc changes are needed, otherwise import as a function is not recognized.
2017-07-19 17:06:56 -04:00
chrisgarrity 7e64c8972e Generate i18n source separate from build step
Generating the localization source to update the translation system (transifex) is really separate from building. When building we want to be using the current state of translations from transifex, and the english default strings are not needed.

Uses the babel-cli to run the babel-plugin-react-intl separately from  webpack.
2017-07-17 09:16:35 -04:00