Skip to content

Commit

Permalink
fix(node): build-esbuild-options.ts code-generated "exactMatch" prope… (
Browse files Browse the repository at this point in the history
  • Loading branch information
hi2u authored May 12, 2023
1 parent e8c31d7 commit 55d40c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export function getRegisterFileContent(
// Path specifies a single entry point e.g. "a/b/src/index.ts".
// This is the default setup.
const { dir, name } = path.parse(pattern);
exactMatch = path.join(dir, `${name}${outExtension}`);
exactMatch = joinPathFragments(dir, `${name}${outExtension}`);
}
acc.push({ module: k, exactMatch, pattern });
return acc;
Expand Down

0 comments on commit 55d40c0

Please sign in to comment.