UNPKG

next-sanity

Version:
23 lines 477 B
/** * For usage with `cacheComponents: true`, and `defineLive`: * ```ts * // next.config.ts * * import type {NextConfig} from 'next' * import {sanity} from 'next-sanity/live/cache-life' * * const nextConfig: NextConfig = { * cacheComponents: true, * cacheLife: { * default: sanity, * } * } * * export default nextConfig * ``` */ declare const sanity: { readonly revalidate: 31_536_000; }; export { sanity }; //# sourceMappingURL=cache-life.d.ts.map