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 2220764 commit dd026e1Copy full SHA for dd026e1
packages/dev-server-core/src/middleware/PluginTransformCache.ts
@@ -32,7 +32,7 @@ export class PluginTransformCache {
32
constructor(private fileWatcher: FSWatcher, private rootDir: string) {
33
this.lruCache = new LRUCache<string, CacheEntry>({
34
sizeCalculation: (e, key) => e.body.length + (key ? key.length : 0),
35
- max: 52428800,
+ maxSize: 52428800,
36
noDisposeOnSet: true,
37
dispose: (_value, cacheKey) => {
38
// remove file path -> url mapping when we are no longer caching it
0 commit comments