Cache files take up too much disk space
Open
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 456
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 2
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.