Scope project files to src dir (enables --production)

This commit is contained in:
Lars Kappert 2024-04-14 14:14:55 +02:00 committed by psychedelicious
parent c2b79ce14c
commit d3b0212da5

View File

@ -1,6 +1,7 @@
import type { KnipConfig } from 'knip'; import type { KnipConfig } from 'knip';
const config: KnipConfig = { const config: KnipConfig = {
project: ['src/**/*.{ts,tsx}!'],
ignore: [ ignore: [
// This file is only used during debugging // This file is only used during debugging
'src/app/store/middleware/debugLoggerMiddleware.ts', 'src/app/store/middleware/debugLoggerMiddleware.ts',