diff --git a/resolving/npm-resolver/src/index.ts b/resolving/npm-resolver/src/index.ts index e7d7274f13..9c9cd9dc8d 100644 --- a/resolving/npm-resolver/src/index.ts +++ b/resolving/npm-resolver/src/index.ts @@ -86,7 +86,7 @@ export function createNpmResolver ( cacheKey: (...args) => JSON.stringify(args), maxAge: 1000 * 20, // 20 seconds }) - const metaCache = new LRU({ + const metaCache = new LRU({ max: 10000, ttl: 120 * 1000, // 2 minutes })