text: var plugins = [{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-react-helmet/gatsby-ssr.js'),
        options: {"plugins":[]},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-remark-autolink-headers/gatsby-ssr.js'),
        options: {"plugins":[]},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-google-analytics/gatsby-ssr.js'),
        options: {"plugins":[],"trackingId":"UA-110601944-1"},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-twitter/gatsby-ssr.js'),
        options: {"plugins":[]},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-sitemap/gatsby-ssr.js'),
        options: {"plugins":[]},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-manifest/gatsby-ssr.js'),
        options: {"plugins":[],"name":"Amanda Bozzi - Life and Business Coaching for Awesome People","short_name":"Amanda Bozzi - Life and Business Coaching for Awesome People","description":"Life and Business Coaching for Awesome People who are stuck and need a little help.","start_url":"/","background_color":"#F0F8FF","theme_color":"#013243","display":"minimal-ui","icons":[{"src":"/logos/logo-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/logos/logo-512x512.png","sizes":"512x512","type":"image/png"}]},
      },{
        plugin: require('/Users/amandabozzi/Desktop/myStuff/amanda-bozzi-coaching/node_modules/gatsby-plugin-feed/gatsby-ssr.js'),
        options: {"plugins":[],"query":"\n        {\n          site {\n            siteMetadata {\n              rssMetadata {\n                site_url\n                feed_url\n                title\n                description\n                image_url\n                author\n                copyright\n              }\n            }\n          }\n        }\n      ","feeds":[{"query":"\n            {\n              allMarkdownRemark(\n                limit: 1000,\n                sort: { order: DESC, fields: [frontmatter___date] },\n              ) {\n                edges {\n                  node {\n                    excerpt\n                    html\n                    timeToRead\n                    fields { slug }\n                    frontmatter {\n                      title\n                      cover\n                      date\n                      category\n                      tags\n                    }\n                  }\n                }\n              }\n            }\n          ","output":"/rss.xml"}]},
      }]
  // During bootstrap, we write requires at top of this file which looks like:
  // var plugins = [
  //   require('/path/to/plugin1/gatsby-ssr.js'),
  //   require('/path/to/plugin2/gatsby-ssr.js'),
  // ]
  
  const apis = require(`./api-ssr-docs`)
  
  module.exports = (api, args, defaultReturn) => {
    if (!apis[api]) {
      console.log(`This API doesn't exist`, api)
    }
    // Run each plugin in series.
    let results = plugins.map(plugin => {
      if (plugin.plugin[api]) {
        const result = plugin.plugin[api](args, plugin.options)
        return result
      }
    })
  
    // Filter out undefined results.
    results = results.filter(result => typeof result !== `undefined`)
  
    if (results.length > 0) {
      return results
    } else {
      return [defaultReturn]
    }
  }
  