file-services icon indicating copy to clipboard operation
file-services copied to clipboard

resolve: support "exports" field

Open AviVahl opened this issue 5 years ago • 1 comments

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.

AviVahl avatar Aug 01 '19 23:08 AviVahl

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.

tzachbon avatar Jan 17 '22 09:01 tzachbon