A package.main can contain a reference to a dir

Without a addition of '/' as ext, this case it to look for /lib.js