We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cdc21 commit 10edc74Copy full SHA for 10edc74
src/index.mjs
@@ -206,7 +206,7 @@ const getCacheKeyed = (statics) => {
206
return CACHE[key] || (CACHE[key] = build(statics));
207
};
208
209
-const USE_MAP = typeof Map === 'function';
+const USE_MAP = !MINI && typeof Map === 'function';
210
const CACHE = USE_MAP ? new Map() : {};
211
const getCache = USE_MAP ? getCacheMap : getCacheKeyed;
212
0 commit comments