Skip to content

Commit

Permalink
chore: Improve resolveTsconfigPathsToAlias to address incomplete stri…
Browse files Browse the repository at this point in the history
…ng escaping issue
  • Loading branch information
m453h committed Sep 27, 2024
1 parent f2980df commit 9d08fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/civicsignalblog/tsconfigPathToWebpackAlias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function resolveTsconfigPathsToAlias({
const key = item.replace("/*", "");
aliases[key] = resolve(
webpackConfigBasePath,
paths[item][0].replace("/*", "").replace("*", ""),
paths[item][0].replace(/\/\*/g, "").replace(/\*/g, ""),
);
});

Expand Down

0 comments on commit 9d08fd3

Please sign in to comment.