Subscribe on changes!

Customize the LRU size when use @vue/compiler-sfc

avatar
Apr 30th 2023

What problem does this feature solve?

As mentioned by https://github.com/vuejs/vitepress/issues/1971, There should be a option for controlling the LRU size。 Otherwise, when there is a large number of Vue files being built in Vitepress, there is a chance of cache penetration, resulting in the loss of the Vue virtual TypeScript script block.

What does the proposed API look like?

image