Howdy, we're using pants to help build a javascrip...
# general
p
Howdy, we're using pants to help build a javascript project and many imports in our project don't include the
.ts
or
.tsx
extension so pants complains about how being able to find the owners for the import. Any knowledge about if's it possible to let pants know that when it's looking for
src/components/Page
it's ok to look at
src/components/Page.tsx
(which it does know the owners for)?
d
There are some improvements along these lines in the 2.25.0a0 release that was just published. The changes solve dep inference for our ts codebase - would be interested to hear if it works for you, too https://github.com/pantsbuild/pants/releases/tag/release_2.25.0a0
p
Ok will take a look