Skip to content

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

@theniceangel

Description

@theniceangel

What problem does this feature solve?

As mentioned by vuejs/vitepress#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions