Skip to content

[optimize]: Reduce virtual-site-data.mjs runtime module size #1102

Open
@Timeless0911

Description

@Timeless0911

What problem does this feature solve?

In huge scale doc site project, the virtual-site-data.mjs will be 100, 000+ lines, which may be 3M+.

This results in the startup time of the entry, thus even we enable lazy compilation, it still need 1s to load the entry.

We can do something to split this file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions