Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IPackageJsonLookupParameters > loadExtraFields

IPackageJsonLookupParameters.loadExtraFields property

Certain package.json fields such as "contributors" can be very large, and may significantly increase the memory footprint for the PackageJsonLookup cache. By default, PackageJsonLookup only loads a subset of standard commonly used fields names. Set loadExtraFields=true to always return all fields.

Signature:

loadExtraFields?: boolean;