Skip to content

Commit

Permalink
Fix validate included files for type: module
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jan 15, 2024
1 parent 69398cf commit c563fbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/validate-included-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export async function validateIncludedFiles(pkg: Package) {
await Promise.all(
pkg.entrypoints
.map(async (entrypoint) => {
if (pkg.isTypeModule() && entrypoint.name !== pkg.name) return;
let filename = path.join(
entrypoint.directory,
"dist",
Expand Down

0 comments on commit c563fbb

Please sign in to comment.