Skip to content

Cache files take up too much disk space #978

Open
@peakchen90

Description

@peakchen90

I'm submitting a feature request

Webpack Version:
5.74.0

Babel Core Version:
7.18.10

Babel Loader Version:
8.2.5

Please tell us about your environment:
OSX 13.1

Current behavior:

For the cache directory, a cache file will be generated every time the code is changed, which will cause a lot of unnecessary disk usage. I found that some of my projects have more than 1G cache usage.

Expected behavior:

It is expected that one source file corresponds to one cache file. Every time a file is changed, only the old cached file is overwritten, no new one is added. thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions