next.js/test/production/app-dir/use-cache-cross-deployment/next.config.js
next.config.js17 lines313 B
/**
 * @type {import('next').NextConfig}
 */
const nextConfig = {
  cacheComponents: true,
  cacheHandlers: {
    default: require.resolve('./handler.js'),
  },
  generateBuildId: process.env.BUILD_ID
    ? async () => {
        return process.env.BUILD_ID
      }
    : undefined,
}

module.exports = nextConfig
Quest for Codev2.0.0
/
SIGN IN