text: module.exports = {
    siteMetadata: {
      title: `Gatsby Default Starter`,
      description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
      author: `@gatsbyjs`,
    },
    plugins: [
  		`gatsby-plugin-react-helmet`,
  		`gatsby-plugin-theme-ui`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          name: `images`,
          path: `${__dirname}/src/images`,
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: `gatsby-plugin-manifest`,
        options: {
          name: `gatsby-starter-default`,
          short_name: `starter`,
          start_url: `/`,
          background_color: `#663399`,
          theme_color: `#663399`,
          display: `minimal-ui`,
          icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
        },
      },
  
      {
        resolve: "gatsby-source-wordpress",
        options: {
          // I have created a dummy site for us to use with the plugins we discussed
          baseUrl: "adnansblog.local/",
          protocol: "http",
          hostingWPCOM: false,
          // useACF: false,
          // restApiRoutePrefix: "wp-json",
  
          // We will be using some advanced custom fields
          useACF: true,
          acfOptionPageIds: [],
          verboseOutput: false,
          perPage: 100,
          searchAndReplaceContentUrls: {
            sourceUrl: "http://adnansblog.local/",
            replacementUrl: "https://localhost:8000",
          },
          // Set how many simultaneous requests are sent at once.
          concurrentRequests: 10,
          includedRoutes: [
            "**/categories",
            "**/posts",
            "**/pages",
            "**/media",
            "**/tags",
            "**/taxonomies",
            "**/users",
            "**/*/*/menus", // <== Menu api endpoint
            "**/*/*/menu-locations", // <== Menu api endpoint
          ],
          excludedRoutes: [],
          normalizer: function ({ entities }) {
            return entities
          },
        },
      },
      `gatsby-plugin-sitemap`,
  
      {
        resolve: "gatsby-source-graphql",
        options: {
          // Arbitrary name for the remote schema Query type
          typeName: "SWAPI",
          // Field under which the remote schema will be accessible. You'll use this in your Gatsby query
          fieldName: "swapi",
          // Url to query from
          url: "https://swapi-graphql.netlify.app/.netlify/functions/index",
        },
  		},
  		
  		{
        resolve: `gatsby-plugin-webfonts`,
        options: {
          fonts: {
            google: [
              {
                family: 'Inter',
                variants: ['500','800'],
                fontDisplay: 'block',
  						},
  						{
              	family: `Merriweather`,
              	variants: [`400`]
            	},
            ],
          },
          //usePreload: true,
        },
      },
  		{
        resolve: `gatsby-plugin-layout`,
        options: {
          component: require.resolve(`./src/components/Layout/index.js`),
        },
  		},
  		
      // this (optional) plugin enables Progressive Web App + Offline functionality
      // To learn more, visit: https://gatsby.dev/offline
      // `gatsby-plugin-offline`,
    ],
  }
  