Closed as duplicate of#275
Description
I have a typescript project with moduleResolution: 'NodeNext'
. In my tsconfig.json
, I have set up an alias which points directly to a file. In the ES spec, this would be with the file extension, and thus should be in the alias target:
tsconfig.json
{
"paths": {
"alias": ["path/to/specific/file.mjs"]
}
}
Eslint complains, if I try:
import something from 'alias';
with "Unable to resolve path to module 'alias'".
Am I configuring this incorrectly, or is this not yet supported?
Metadata
Metadata
Assignees
Labels
No labels