knip.config.js/** @type {import('knip').KnipConfig} */export default {// Entry points - where knip starts tracing dependenciesentry: ['src/app/**/page.tsx','src/app/**/layout.tsx',// 'src/components/index.ts', // Removed to detect unused component exports'src/blog/**/*.tsx', // Blog posts are dynamically loaded'_scripts/**/*.{js,mjs}', // Build scripts run via npm commands],// All project files to analyzeproject: ['src/**/*.{ts,tsx}', '_scripts/**/*.{js,mjs}'],// Ignore patterns - files that are intentionally standalone or dynamically usedignore: ['_data/**',// Config files that are used by tools'src/components/**/config.ts','src/components/**/types.ts',
Showing the first 20 lines.
Get full code