We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259c714 commit b73cb37Copy full SHA for b73cb37
1 file changed
stackbit.config.ts
@@ -0,0 +1,20 @@
1
+import { ContentstackContentSource } from '@stackbit/cms-contentstack';
2
+
3
+import { defineStackbitConfig } from '@stackbit/types';
4
5
+export default defineStackbitConfig({
6
+ "stackbitVersion": "~0.6.0",
7
+ "nodeVersion": "18",
8
+ "ssgName": "nextjs",
9
+ "contentSources": [
10
+ new ContentstackContentSource({
11
+ apiKey: process.env.CONTENTSTACK_API_KEY!,
12
+ managementToken: process.env.CONTENTSTACK_MANAGEMENT_TOKEN!,
13
+ authtoken: process.env.CONTENTSTACK_AUTHTOKEN,
14
+ branch: process.env.CONTENTSTACK_BRANCH!,
15
+ publishEnvironmentName: process.env.CONTENTSTACK_PUBLISH_ENV || 'production',
16
+ skipFetchOnStartIfCache: true
17
+ }),
18
+ ],
19
+ "postInstallCommand": "npm i --no-save @stackbit/types @stackbit/cms-contentstack"
20
+})
0 commit comments