glint
glint copied to clipboard
Glint accidentally resolves local file over package name containing ".js"
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.