Current SWC resolver prioritizes resolving paths to **/lib/** files instead of using tsconfig.paths.json compilerOptions.paths values. This prevents devs from running good-fences accurately if they run local builds or run yarn typecheck since those generate files under packages lib/ dir.
Reverting to old resolver and adding some logic to handle cases such as adding extensions to files and appending index whenever is needed.
Current SWC resolver prioritizes resolving paths to
**/lib/**
files instead of using tsconfig.paths.jsoncompilerOptions.paths
values. This prevents devs from running good-fences accurately if they run local builds or runyarn typecheck
since those generate files under packageslib/
dir. Reverting to old resolver and adding some logic to handle cases such as adding extensions to files and appendingindex
whenever is needed.