Skip to content

Monorepo projects share a cache #9115

@Dunqing

Description

@Dunqing

Description

When we have multiple vite projects in a monorepo project, I want them to use the same cache, meaning that they can reuse the existing cache when I set the cacheDir to the same path.

This can significantly increase the speed of "pre-bundling" when developing multiple projects at the same time.

Suggested solution

Use the same cacheDir , shared cache

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: deps optimizerEsbuild Dependencies OptimizationperformancePerformance related enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions