We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6868398 commit 6adc8c6Copy full SHA for 6adc8c6
CHANGELOG.md
@@ -4,6 +4,10 @@ title: Changelog
4
5
## Unreleased
6
7
+### Bug Fixes
8
+
9
+- Fixed automatic discovery of entry points in packages mode.
10
11
## v0.27.0 (2024-11-27)
12
13
### Breaking Changes
src/lib/utils/entry-point.ts
@@ -61,7 +61,9 @@ export interface DocumentEntryPoint {
61
}
62
63
export function inferEntryPoints(logger: Logger, options: Options) {
64
- const packageJson = discoverPackageJson(process.cwd());
+ const packageJson = discoverPackageJson(
65
+ options.packageDir ?? process.cwd(),
66
+ );
67
if (!packageJson) {
68
logger.warn(logger.i18n.no_entry_points_provided());
69
return [];
0 commit comments