preppy icon indicating copy to clipboard operation
preppy copied to clipboard

RFC: Support exports field of package.json

Open fastner opened this issue 5 years ago • 1 comments

With support of ES modules in Node.js there is a new field exports that defines entry points for different engines (e.g. browser or node) and package formats (e.g. commonjs or ES modules):

https://nodejs.org/api/esm.html#esm_package_entry_points

Make them work in parallel to module, unpkg and types.

fastner avatar Jun 02 '20 08:06 fastner

Could be a nice add-on indeed. I see these fields more and more in real life.

swernerx avatar Jan 20 '22 09:01 swernerx