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(