Skip to content

Fix/paths vs project file#1715

Merged
Perryvw merged 7 commits into
TypeScriptToLua:masterfrom
RealColdFry:fix/paths-vs-project-file
May 3, 2026
Merged

Fix/paths vs project file#1715
Perryvw merged 7 commits into
TypeScriptToLua:masterfrom
RealColdFry:fix/paths-vs-project-file

Conversation

@RealColdFry
Copy link
Copy Markdown
Contributor

@RealColdFry RealColdFry commented Apr 21, 2026

Ordering diverges from TS 6: project file lookup (like a sibling file) can win over a paths-mapped target.

Ref: https://www.typescriptlang.org/docs/handbook/modules/reference.html#paths

TypeScript offers a way to override the compiler’s module resolution for bare specifiers with the paths compiler option.

@RealColdFry RealColdFry marked this pull request as ready for review April 21, 2026 09:16
@RealColdFry RealColdFry marked this pull request as draft April 21, 2026 13:43
…ect-file

# Conflicts:
#	src/transpilation/resolve.ts
#	test/transpile/module-resolution.spec.ts
@RealColdFry RealColdFry marked this pull request as ready for review April 22, 2026 02:11
@Perryvw Perryvw merged commit 979bebe into TypeScriptToLua:master May 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants