As described in README of the repro repository. Dynamic imports seem to not respect relative paths and always resolve to the first loaded module with same "name" even if it is actually different modules in different directories.
Bugs are expected to be fixed by those affected by it
[ ] I'm interested in working on this issue
Compensating engineering work will speed up resolution and support the project
[ ] I'm willing to offer $10 for financial support
Acknowledgements
Minimal reproduction URL
https://github.com/psznm/tsx-dynamic-import-bug-repro
Problem & expected behavior (under 200 words)
As described in README of the repro repository. Dynamic imports seem to not respect relative paths and always resolve to the first loaded module with same "name" even if it is actually different modules in different directories.
Bugs are expected to be fixed by those affected by it
Compensating engineering work will speed up resolution and support the project