diff --git a/stackbit.config.js b/stackbit.config.js new file mode 100644 index 0000000..15fb354 --- /dev/null +++ b/stackbit.config.js @@ -0,0 +1,14 @@ +// stackbit.config.js +import { ContentfulContentSource } from "@stackbit/cms-contentful"; + +export default { + contentSources: [ + new ContentfulContentSource({ + spaceId: process.env.CONTENTFUL_SPACE_ID, + environment: process.env.CONTENTFUL_ENVIRONMENT, + previewToken: process.env.CONTENTFUL_PREVIEW_TOKEN, + accessToken: process.env.CONTENTFUL_MANAGEMENT_TOKEN + }) + ] + // ... +};