file-services
file-services copied to clipboard
resolve: support "exports" field
Node 12.7.0's esm module system implemented support for: https://github.com/jkrems/proposal-pkg-exports/
@file-services/resolve
should support that field too, assuming more and more packages will use that field inside the Node ecosystem.
In a POC of mine, I switched the Stylable CLI default resolver to this, and it gave us around 70~30% performance gain in a variety of monorepo projects. It will be a very useful tool for us once this problem is fixed.