chore(server): bypass build warning

This commit is contained in:
Elian Doran
2026-04-09 18:29:00 +03:00
parent aac8c8053d
commit 2c2a20b80d

View File

@@ -54,7 +54,15 @@ export default class BuildHelper {
"pdfjs-dist",
"./xhr-sync-worker.js",
"vite",
"tesseract.js"
"tesseract.js",
// Test fixtures referenced via require.resolve from
// integration-test-only code paths in apps/server. These
// paths are gated at runtime by TRILIUM_INTEGRATION_TEST and
// never reached in production, but esbuild can't see through
// the gate during static analysis. Marking them external
// suppresses the spurious "require.resolve not external"
// warning without affecting the bundle behavior.
"@triliumnext/core/src/test/*"
],
metafile: true,
splitting: false,