Skip to content

Commit

Permalink
Fix wildcard in extensions argument in .addPreprocessor()
Browse files Browse the repository at this point in the history
  • Loading branch information
vrugtehagel authored Aug 18, 2024
1 parent 5abe230 commit 74e0d65
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 @@ -655,7 +655,7 @@ class Template extends TemplateContent {
}

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

Expand Down

0 comments on commit 74e0d65

Please sign in to comment.