gatsby-starter-netlify-cms/gatsby-config.js
Ricky de Laveaga aacda70eb4 Select by ID instead of path
Closes #47

See for background
5bc432b71d (commitcomment-27821888)
5bc432b71d (commitcomment-27821874)

+ links in #47

thanks @KyleAMathews
2018-02-27 16:37:01 -08:00

37 lines
751 B
JavaScript

module.exports = {
siteMetadata: {
title: 'Gatsby + Netlify CMS Starter',
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/pages`,
name: 'pages',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/img`,
name: 'images',
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [],
},
},
{
resolve: 'gatsby-plugin-netlify-cms',
options: {
modulePath: `${__dirname}/src/cms/cms.js`,
},
},
],
}