Skip to content

Provide a way to share resources across multiple compilations #3296

@sapphi-red

Description

@sapphi-red

It seems currently sass-embedded starts one process for each compile request and stops it after compilation.

When using Vue components with sass, Vite requests one compile request for one file. This makes many compile requests and it slows down by process creation overhead.

esbuild reuses process to avoid this situation. I suppose the performance can be improved in the same way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    JS APIAbout the shared JS APIenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions