Skip to content

Commit

Permalink
Merge pull request #35 from ch1ny/fix/build-tsc-path-alias
Browse files Browse the repository at this point in the history
fix: 修复unix主进程tsc路径别名解析
  • Loading branch information
ch1ny authored Oct 27, 2023
2 parents 8d00740 + 5681700 commit 6fb09da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creta/src/cli/utils/tsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const getAliasTransformers = (options: ts.CompilerOptions) => {
const relativePath = path.relative(
path.dirname(
// @ts-ignore
node.parent.resolvedPath
node.parent.originalFileName
),
resolvedPath
);
Expand Down

0 comments on commit 6fb09da

Please sign in to comment.