text: const config = require('./config/website')
  
  const pathPrefix = config.pathPrefix === '/' ? '' : config.pathPrefix
  
  module.exports = {
    /* General Information */
    siteMetadata: {
      siteUrl: config.siteUrl + pathPrefix,
    },
    /* Plugins */
    plugins: [
      'gatsby-plugin-react-helmet',
      'gatsby-plugin-styled-components',
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          path: `${__dirname}/src/images/`,
          name: 'images',
        },
      },
      {
        resolve: 'gatsby-plugin-google-analytics',
        options: {
          trackingId: config.googleAnalyticsID,
        },
      },
      'gatsby-transformer-sharp',
      'gatsby-plugin-sharp',
      {
        resolve: 'gatsby-plugin-manifest',
        options: {
          name: config.siteTitle,
          short_name: config.siteTitleShort,
          description: config.siteDescription,
          start_url: config.pathPrefix,
          background_color: config.backgroundColor,
          theme_color: config.themeColor,
          display: 'standalone',
          icons: [
            {
              src: '/favicons/favicon-32x32.png',
              sizes: '32x32',
              type: 'image/png',
            },
          ],
        },
      },
      /* Must be placed at the end */
      'gatsby-plugin-offline',
    ],
  }
  