Open rainerhahnekamp opened 6 months ago
Seems to not work on wildcard paths in general, saying "libs/libName/*/src/index.ts" does not exist. This means that it can't be used for secondary entry-points, which IMO is the primary benefit of this lib in an Nx repo (where we can otherwise use Nx module boundaries)
@bradley-carestia-jbh is this the same as #17?
Looks like it, yes!
Okay, that should be covered with the Caching Milestone.
Currently, the algorithm reads every file separately, which makes wildcards inefficient. With the cache, we load all files and, therefore, have full knowledge of the existing files and directories.
Will always fail because the path resolver stops at the first and doesn't continue.