Skip to content

Commit

Permalink
fix: ignore .d.ts in watch files
Browse files Browse the repository at this point in the history
  • Loading branch information
rturnq committed Jan 3, 2024
1 parent 1037bc3 commit de9dd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function getTrailingContent(
templateFileName === "index"
? ""
: `${escapeRegExp(templateFileName)}\\.`
}(?:${missingDeps.join("|")})\\.[^\\${path.sep}]+$/)`;
}(?:${missingDeps.join("|")})\\.\\w+$/)`;
}
}

Expand Down

0 comments on commit de9dd6c

Please sign in to comment.