Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    7e64c897
    Generate i18n source separate from build step · 7e64c897
    chrisgarrity authored
    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.
    7e64c897
    History
    Generate i18n source separate from build step
    chrisgarrity authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.babelrc 188 B
{
    "plugins": [
        "transform-object-rest-spread",
        ["react-intl", {
            "messagesDir": "./translations/messages/"
        }]],
    "presets": ["es2015", "react"]
}