Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Sep 15, 2024
1 parent 578836b commit 3a8e930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/virtual-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const appJsMatchPattern = /(?<to>.+)__embroider_appjs_match__.{2,5}$/;
export function encodeAppJsMatch(specifier: string, from: string): string {
let to = require.resolve(specifier, {
paths: [resolve(dirname(from), 'node_modules')],
}),
})
return `${to}${appJsMatchMarker}${extname(to)}`;
}

Expand Down

0 comments on commit 3a8e930

Please sign in to comment.