commit c3643bfab19a32005315c5af5478fba18e4c8118
parent 603fefc1d99d97123ac64972332031431a906a52
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 2 Jul 2026 01:33:49 -0400
Fix export build: exclude out/ from tsconfig type-check
Next's build-time type-check scanned out/_next/static/media/searchIndex.worker.*.ts (a bundled FlexSearch worker artifact whose "flexsearch" import only resolves during bundling), failing with "Cannot find module 'flexsearch'". Excluding the static-export output dir stops the type-check from choking on stale build artifacts.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/export/tsconfig.json b/export/tsconfig.json
@@ -16,5 +16,5 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
- "exclude": ["node_modules"]
+ "exclude": ["node_modules", "out"]
}