Created
May 15, 2021 12:18
-
-
Save blopa/ab8611a05596f4f6679bdbc14c89450a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
...config, | |
plugins: [{ | |
resolve: 'gatsby-plugin-intl', | |
options: { | |
path: `${__dirname}/src/intl`, | |
languages: ['en', 'pt-br'], | |
defaultLanguage: 'en', | |
redirect: true, | |
redirectComponent: require.resolve('./src/utils/redirect.js'), | |
}, | |
}], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment