module.exports = { siteMetadata: { siteUrl: 'https://joystream.org', }, plugins: [ 'gatsby-plugin-polyfill-io', 'gatsby-plugin-react-helmet', 'gatsby-plugin-stylelint', { resolve: 'gatsby-source-filesystem', options: { name: 'images', path: `${__dirname}/src/assets`, }, }, { resolve: 'gatsby-plugin-svgr', options: { exclude: /(hydra-hero.svg)$/, }, }, 'gatsby-plugin-anchor-links', 'gatsby-transformer-sharp', 'gatsby-plugin-sharp', { resolve: 'gatsby-plugin-manifest', options: { name: 'gatsby-starter-default', short_name: 'starter', start_url: '/', background_color: '#000000', theme_color: '#000000', display: 'minimal-ui', icon: 'src/assets/images/favicon.png', }, }, { resolve: 'gatsby-plugin-google-analytics', options: { trackingId: process.env.GA_ID, }, }, { resolve: 'gatsby-plugin-hotjar', options: { id: process.env.HJ_ID, sv: process.env.HJ_SV, }, }, 'gatsby-plugin-sass', { resolve: `gatsby-source-filesystem`, options: { path: `${__dirname}/src/locales`, name: `locale` } }, { resolve: `gatsby-plugin-react-i18next`, options: { localeJsonSourceName: `locale`, // name given to `gatsby-source-filesystem` plugin. languages: [`en`, `ru`], defaultLanguage: `en`, siteUrl: `https://www.joystream.org/`, i18nextOptions: { interpolation: { escapeValue: false // not needed for react as it escapes by default }, nsSeparator: false }, pages: [ { matchPath: '/', languages: ['en','ru'] } ] } }, // this (optional) plugin enables Progressive Web App + Offline functionality // To learn more, visit: https://gatsby.dev/offline // `gatsby-plugin-offline`, ], };