diff --git a/hydrogen-contentful-demo-store/stackbit.yaml b/hydrogen-contentful-demo-store/stackbit.yaml index 620278f..92ed85c 100644 --- a/hydrogen-contentful-demo-store/stackbit.yaml +++ b/hydrogen-contentful-demo-store/stackbit.yaml @@ -1,24 +1,15 @@ -# The stackbit.yaml file lets you define the characteristic of your website -# needed to make your theme, or project, work with Stackbit. For more info about -# stackbit.yaml configuration visit https://docs.stackbit.com/reference/stackbit-yaml/ stackbitVersion: ~0.5.0 -ssgName: custom cmsName: contentful nodeVersion: '16' -devCommand: echo Starting && APP_PORT={PORT} npm run dev-no-window - -__unsafe_internal_stackbitRunnerOptions: - displayName: Hydrogen - patterns: - doneStart: ['Local: http'] -# The "buildCommand" and the "publishDir" properties are used to configure the -# serverless deployment platform when Stackbit creates a new site from this theme. -buildCommand: npm run build -publishDir: out +ssgName: custom +devCommand: echo Starting && APP_PORT={PORT} npm run dev-no-window +experimental: + ssg: + name: Hydrogen + logPatterns: + up: 'Local: http' -# The "import" object defines how Stackbit should provision Contentful when -# creating a new site from this theme via https://app.stackbit.com/create. import: type: contentful contentFile: contentful/export.json @@ -27,8 +18,6 @@ import: spaceIdEnvVar: CONTENTFUL_SPACE_ID deliveryTokenEnvVar: CONTENTFUL_DELIVERY_TOKEN -styleObjectModelName: ThemeStyle - modelsSource: type: contentful @@ -36,4 +25,4 @@ modelsSource: models: PostLayout: type: page - urlPath: '/journal/{slug}' \ No newline at end of file + urlPath: '/journal/{slug}'