text: const config = require("./config/website")
  const pathPrefix = config.pathPrefix === "/" ? "" : config.pathPrefix
  
  module.exports = {
    siteMetadata: {
      siteUrl: config.siteUrl + pathPrefix,
      title: config.siteTitle,
      twitterHandle: config.twitterHandle,
      description: config.siteDescription,
      keywords: ["DevC_Casa", "Geeksblabla", "Podcast"],
      canonicalUrl: config.siteUrl,
      image: config.siteLogo,
      banner: config.banner,
      author: {
        name: config.author,
        minibio: `DevC Casablanca`,
      },
      organization: {
        name: config.organization,
        url: config.siteUrl,
        logo: config.siteLogo,
      },
      social: {
        twitter: config.twitterHandle,
        fbAppID: "",
      },
    },
    plugins: [
      `gatsby-plugin-react-helmet`,
      `gatsby-transformer-yaml`,
      `gatsby-plugin-preload-fonts`,
      {
        resolve: "gatsby-source-filesystem",
        options: {
          path: `${__dirname}/blablas`,
          name: "blablas",
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/reviews`,
          name: "reviews",
        },
      },
      {
        resolve: `gatsby-plugin-mdx`,
        options: {
          extensions: [".mdx", ".md", ".markdown"],
          gatsbyRemarkPlugins: [
            {
              resolve: "gatsby-remark-images",
              options: {
                backgroundColor: "#fafafa",
                maxWidth: 1035,
                sizeByPixelDensity: true,
              },
            },
          ],
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      `gatsby-plugin-sass`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `GeeksBlabla Website`,
          short_name: `GeeksBlabla`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icons: [
            {
              src: "/android-chrome-192x192.png",
              sizes: "192x192",
              type: "image/png",
            },
            {
              src: "/android-chrome-512x512.png",
              sizes: "512x512",
              type: "image/png",
            },
          ],
        },
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          trackingId: "UA-127901499-3",
        },
      },
      {
        resolve: "gatsby-plugin-sentry",
        options: {
          dsn: "https://7048bf611200421abd4d4f0e4d873c8b@sentry.io/1452547",
          // Optional settings, see https://docs.sentry.io/clients/node/config/#optional-settings
          environment: process.env.NODE_ENV,
          enabled: (() => ["production"].indexOf(process.env.NODE_ENV) !== -1)(),
        },
      },
      {
        resolve: "gatsby-plugin-react-svg",
        options: {
          rule: {
            exclude: /\.back\.svg$/,
          },
        },
      },
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      `gatsby-plugin-offline`,
    ],
  }
  