Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / configs/next/index.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | configs/next/index.ts |
| Original SHA-256 | 8f1531e7b878e4a6904fca93f084b3e5c81f4600987dcfced7231968646250b1 |
| Git blob SHA | 69d5972633483ee44287967a41e9bfac5df252bf |
| Reading-copy SHA-256 | 8f1531e7b878e4a6904fca93f084b3e5c81f4600987dcfced7231968646250b1 |
Recovered source transcript
Download complete source text ↓20 lines · 0.6 KB
import withBundleAnalyzer from '@next/bundle-analyzer'
import withVercelToolbar from '@vercel/toolbar/plugins/next'
import type { NextConfig } from 'next'
export const baseConfig: NextConfig = {
reactStrictMode: true,
skipTrailingSlashRedirect: true
}
/**
* Wraps a Next.js config with bundle analyzer support
*/
export const withAnalyzer = (sourceConfig: NextConfig) => withBundleAnalyzer()(sourceConfig)
/**
* Wraps a Next.js config with Vercel toolbar support
*/
export const withVercelToolbarConfig = (sourceConfig: NextConfig) =>
withVercelToolbar()(sourceConfig)