text: const config = require('./config')
  
  module.exports = {
    siteMetadata: {
      title: config.siteTitle,
      siteUrl: config.siteUrl,
    },
    plugins: [
      'gatsby-plugin-react-helmet',
      'gatsby-plugin-sass',
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          path: `${__dirname}/src/assets/img`,
          name: 'uploads',
        },
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          path: `${__dirname}/src/pages`,
          name: 'pages',
        },
      },
      {
        resolve: `gatsby-plugin-sitemap`,
      },
      {
        resolve: 'gatsby-source-filesystem',
        options: {
          path: `${__dirname}/src/assets/img`,
          name: 'images',
        },
      },
      {
        resolve: `gatsby-source-ical`,
        options: {
          name: `events`,
          url: `https://calendar.google.com/calendar/ical/qppepsjet7nl6ih6vkhugmgfqk%40group.calendar.google.com/public/basic.ics`,
        },
      },
      'gatsby-plugin-sharp',
      'gatsby-transformer-sharp',
      {
        resolve: 'gatsby-transformer-remark',
        options: {
          plugins: [
            {
              resolve: 'gatsby-remark-relative-images',
              options: {
                name: 'uploads',
              },
            },
            {
              resolve: 'gatsby-remark-images',
              options: {
                maxWidth: 2048,
              },
            },
          ],
        },
      },
      {
        resolve: 'gatsby-plugin-netlify-cms',
        options: {
          modulePath: `${__dirname}/src/cms/cms.js`,
          enableIdentityWidget: true,
          htmlTitle: `Przedszkole nr 371`,
        },
      },
      {
        resolve: `gatsby-plugin-nprogress`,
        options: {
          color: config.themeColor,
          showSpinner: true,
        },
      },
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: config.siteTitle,
          short_name: config.siteTitleAlt,
          start_url: '/index.html',
          background_color: config.backgroundColor,
          theme_color: config.themeColor,
          display: 'standalone',
          icons: [
            {
              src: `/icons/icon-192x192.png`,
              sizes: `192x192`,
              type: `image/png`,
            },
            {
              src: `/icons/icon-512x512.png`,
              sizes: `512x512`,
              type: `image/png`,
            },
          ],
        },
      },
      `gatsby-plugin-offline`,
      `gatsby-plugin-netlify`,
    ],
  }
  