mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-27 06:47:25 +02:00
Upgrade gatsby-plugin-react-i18next to new release
This commit is contained in:
parent
ad2bcd3312
commit
37b12abb78
14 changed files with 421 additions and 49 deletions
|
@ -29,6 +29,13 @@ module.exports = {
|
|||
path: `./content/`,
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
path: `${__dirname}/locales`,
|
||||
name: `locale`
|
||||
},
|
||||
},
|
||||
`gatsby-plugin-sass`,
|
||||
{
|
||||
resolve: `gatsby-plugin-manifest`,
|
||||
|
@ -58,9 +65,10 @@ module.exports = {
|
|||
{
|
||||
resolve: `gatsby-plugin-react-i18next`,
|
||||
options: {
|
||||
path: `${__dirname}/locales`,
|
||||
localeJsonSourceName: `locale`,
|
||||
languages: extConfig.languages,
|
||||
defaultLanguage: null,
|
||||
defaultLanguage: `en`,
|
||||
generateDefaultLanguagePage: true,
|
||||
siteUrl: extConfig.siteURL,
|
||||
i18nextOptions: {
|
||||
interpolation: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue