Skip to content

Support path resolvers from tsconfig #6

@lukasIO

Description

@lukasIO

Hi,

in my tsconfig file i have paths set up like this

"compilerOptions": {
		...
		"paths": {
			"$lib/*": ["src/lib/*"]
		}
	},

If I import a module for testing (using loadr, tsm and uvu) the resolution fails as soon as the module/file that I import has a reference to $lib with the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '$lib' imported from /path/to/lib/utils.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions