From d3b0212da5146a520270dba6d827e875dfdd0fc6 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Sun, 14 Apr 2024 14:14:55 +0200 Subject: [PATCH] Scope project files to src dir (enables --production) --- invokeai/frontend/web/knip.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/knip.ts b/invokeai/frontend/web/knip.ts index d4b51e46d1..db89741fef 100644 --- a/invokeai/frontend/web/knip.ts +++ b/invokeai/frontend/web/knip.ts @@ -1,6 +1,7 @@ import type { KnipConfig } from 'knip'; const config: KnipConfig = { + project: ['src/**/*.{ts,tsx}!'], ignore: [ // This file is only used during debugging 'src/app/store/middleware/debugLoggerMiddleware.ts',