chore: change netlify cms module path

This commit is contained in:
alxshelepenok 2019-05-10 02:13:51 +03:00
parent 8e037219c3
commit 091834f16a
2 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,7 @@ module.exports = {
{
resolve: 'gatsby-plugin-netlify-cms',
options: {
modulePath: `${__dirname}/src/cms/cms.js`,
modulePath: `${__dirname}/src/cms/index.js`,
}
},
{

View File

@ -1,3 +1,4 @@
// @flow
import CMS from 'netlify-cms';
import PagePreview from './preview-templates/page-preview';
import PostPreview from './preview-templates/post-preview';