Skip to content

Commit

Permalink
fix: correct logic for onlyRootEntrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-alford committed Sep 5, 2024
1 parent 009ecd8 commit 0791758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuildService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0791758

Please sign in to comment.