Content Source Maps
Contentful has released a new live-preview API compatible Countent Source Maps spec, you can read more here. This implementation enabled effortless inspector mode annotations in Live Preview, as well as full Edit Mode support on Vercel with Content Link.
Content Source Maps are only available on Contentful Premium plan. Vercel Content Link is only available on Vercel Pro and Enterprise plans.
Opting out
If you wouldn't like to use content source maps, you are free to opt out by:
- Settings
CONTENTFUL_USE_CONTENT_SOURCE_MAPS=false
in .env.local or in Vercel environment variables - Removing
@contentSourceMaps
directive from GraphQL queries
@contentSourceMaps
ideally could be added conditionally, but gql.tada prevents any dynamic strings from being typed
TadaDocumentNode
. In future we will add the @contentSourceMaps
directive to all queries in urql exchange.