Skip to content

Commit

Permalink
Improve error message when failing to find entry point
Browse files Browse the repository at this point in the history
Ref: #2082
  • Loading branch information
Gerrit0 committed Oct 23, 2022
1 parent 9671e18 commit d1f8927
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/utils/entry-point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ function getEntryPointsForPaths(
}
}
}
logger.warn(`Unable to locate entry point: ${fileOrDir}`);
logger.warn(
`The entry point ${nicePath(
fileOrDir
)} does not exist or is not included in the program for your provided tsconfig.`
);
}

return entryPoints;
Expand Down

0 comments on commit d1f8927

Please sign in to comment.