-
-
Couldn't load subscription status.
- Fork 163
Description
Documentation Is:
- Missing
- Needed
- Confusing
- Not Sure?
Please Explain in Detail...
Please just add a 1 liner explaining what a "cache" is in the context of minification.
In general I know what a cache is - some (local) storage of files/data to reuse for avoiding redundant regeneration of (if no changes exist) for faster build times. But if there were only benefits to adding a cache then why even include it as an option? What are the implications of setting cache to true (for the typical use case where someone isn't using a custom minify - or is that the only reason you might not want to)?
Your Proposal for Changes
Something like this:
Enable file caching. Default path to cache directory: node_modules/.cache/terser-webpack-plugin. Enabling this option will < improve build speed at the cost of...? >
...