Glint accidentally resolves local file over package name containing ".js"
ef4 opened this issue · 0 comments
ef4 commented
If you have an import like import * from "chess.js"
, tsc correctly treats this as a package dependency. But using glint, if you also have a local file named "chess.gts", glint resolves the import to the local file.
It should probably be checking that the import specifier really starts with .
before attempting to do its extra extension resolving.