Skip to content

Commit

Permalink
fix: wrong doctor missing rule result for prebundle files (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Jan 26, 2024
1 parent 86a7516 commit e34316c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doctor/rules/PACK_FILES_MISSING.ts
Expand Up @@ -21,7 +21,7 @@ export default (api: IApi) => {
);
Object.values(preBundleConfig.dts).forEach((c) =>
entities.push(
winPath(path.relative(api.cwd, path.basename(c.output))),
winPath(path.relative(api.cwd, path.dirname(c.output))),
),
);

Expand Down

0 comments on commit e34316c

Please sign in to comment.