Open cafreeman opened 1 year ago
Clarification—I believe this works correctly for local paths, based on this code:
If I'm understanding correctly, both from that repro and from our discussion in chat, the issue is specifically that it does not follow an extends
which points to a different package, right? Thus meaning that if we, say, set up a @tsconfig/ember-with-glint
, it wouldn't be usable.
Good catch. Yes, you're correct. It only seems to come up when actually extends a tsconfig from another package.
I think this is resolved, as all projects I'm aware of that use Glint extend from @tsconfig/ember
, or some other in-monorepo custom config, such as @my-place-of-work/tsconfig
.
When extending a tsconfig that includes a glint configuration , glint doesn't follow the
extends
and, therefore, does not recognize that any config is present.I've created a reproduction here: https://github.com/cafreeman/glint-extends-bug-repro