Skip to content

Instantly share code, notes, and snippets.

@jazibsawar
Last active June 5, 2018 12:41
Show Gist options
  • Save jazibsawar/de6450ac76bd813f6e883a7ec24bc511 to your computer and use it in GitHub Desktop.
Save jazibsawar/de6450ac76bd813f6e883a7ec24bc511 to your computer and use it in GitHub Desktop.
module.exports = {
plugins: [
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: 'gatsby-source-cosmicjs',
options: {
bucketSlug: 'gatsby-blog-cosmic-js', // Bucket Slug
objectTypes: ['posts','settings'], // List of the Object Types you want to be able to request from Gatsby.
apiAccess: {
read_key: '',
}
}
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment