From 0791758d0e937ccb2d1e4da59088151c7dcf6ccd Mon Sep 17 00:00:00 2001 From: Jacob Alford Date: Thu, 5 Sep 2024 11:28:26 -0600 Subject: [PATCH] fix: correct logic for onlyRootEntrypoints --- src/BuildService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildService.ts b/src/BuildService.ts index e3b7312..7a12951 100644 --- a/src/BuildService.ts +++ b/src/BuildService.ts @@ -132,7 +132,7 @@ export const BuildServiceLive: RTE.ReaderTaskEither< 'onlyRootEntrypoints', ({ config, entrypoints, resolvedIndex }) => !resolvedIndex.includes(config.srcDir) && - entrypoints.some(entrypoint => entrypoint.includes(config.srcDir)), + !entrypoints.some(entrypoint => entrypoint.includes(config.srcDir)), ), RTE.bindW('pkg', ({ config }) => pipe(