diff options
author | Luca Casonato <hello@lcas.dev> | 2024-03-08 18:25:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 17:25:55 +0000 |
commit | 5d671e079a3aada2fd1efccd82a3fe4fd33c512e (patch) | |
tree | e376265297d502ec8152ada2d1137fb1b88205de /tests/integration/npm_tests.rs | |
parent | 93b9d114a4c87402fa82c3f59d6509179f1fd126 (diff) |
fix: support sloppy resolution to file where directory exists (#22800)
Previously the sloppy resolver could not resolve the following:
- foo/bar.ts
- foo.ts
- index.ts
Where `index.ts` contains `import "./foo"`, because it did not consider
`foo.ts` a valid target for this directory import.
This commit fixes this bug.
Diffstat (limited to 'tests/integration/npm_tests.rs')
0 files changed, 0 insertions, 0 deletions