Skip to content

Commit

Permalink
fix hbs filter
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Mar 22, 2024
1 parent d372c89 commit 3dad581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/hbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async function maybeSynthesizeComponentJS(context: PluginContext, source: string
};
}

const hbsFilter = createFilter('**/*.hbs?(\\?)*');
const hbsFilter = createFilter('**/*.hbs?([?]*)');

function maybeRewriteHBS(resolution: ResolvedId) {
if (!hbsFilter(resolution.id)) {
Expand Down

0 comments on commit 3dad581

Please sign in to comment.