Skip to content

task cache could be conflicted with package manager cache #502

Description

@wan9chi

Vite Task stores its cache under node_modules/.vite/task-cache.

This is fine for package-manager store caches, such as actions/setup-node with cache: pnpm, because those caches usually store downloaded packages or the package-manager store, not node_modules itself.

It can be confusing or risky for workflows that cache node_modules directly. Those caches may also include node_modules/.vite/task-cache, which mixes dependency cache data with Vite Task cache data and can make restore order harder to reason about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions