The exports field in the package.json of a package allows to declare which module should be used when using module requests like import "package" or import "package/sub/path". It replaces the default implementation that returns main field resp. index.js files for "package" and the file system lookup for "package/sub/path". When the exports field is specified, only these module requests are availab
![Package exports | webpack](https://cdn-ak-scissors.b.st-hatena.com/image/square/eceadfb8015bc128031bfdea6262fbbe4c918b99/height=288;version=1;width=512/https%3A%2F%2Fwebpack.js.org%2Ficon-pwa-512x512.934507c816afbcdb.png)