Skip to content

Commit

Permalink
Fix wildcard in extensions argument in .addPreprocessor() (#3418)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat authored Aug 30, 2024
2 parents 1083d73 + 74e0d65 commit 75d01f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ class Template extends TemplateContent {
}

filters = filters.map((extension) => {
if (extension.startsWith(".")) {
if (extension.startsWith(".") || extension === "*") {
return extension;
}

Expand Down

0 comments on commit 75d01f9

Please sign in to comment.