From b59cb8dbab9d00c4730536d76076931d11e75a5a Mon Sep 17 00:00:00 2001 From: moehami Date: Wed, 23 Oct 2024 02:22:14 +0300 Subject: [PATCH] Create stackbit.config.js --- stackbit.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 stackbit.config.js 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 + }) + ] + // ... +};