Skip to content

Commit

Permalink
Merge pull request #1664 from embroider-build/extension-precedence
Browse files Browse the repository at this point in the history
reorder extension precedence when searching app-js and fastboot-js trees
  • Loading branch information
ef4 authored Nov 14, 2023
2 parents 2914652 + 344ab04 commit 6c2f482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/module-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ export class Resolver {
if (filename.match(/\.(hbs|js|hbs\.js)$/)) {
yield filename;
} else {
for (let ext of ['.hbs', '.js', '.hbs.js']) {
for (let ext of ['.js', '.hbs.js', '.hbs']) {
yield `${filename}${ext}`;
}
}
Expand Down

0 comments on commit 6c2f482

Please sign in to comment.