netlify-plugin-ttl-cache
netlify-plugin-ttl-cache copied to clipboard
Recursive `rmdir()` is deprecated
rmdir() with recursive: true has been deprecated by Node.js.
https://github.com/andyrichardson/netlify-plugin-ttl-cache/blob/54127d8050d92f1335d37c7666c3161aafa82f11/src/index.js#L41
Would it be possible to either:
- Use
rm()instead withrecusive: true? This would require setting thepackage.jsonengines.nodeto>=14.14.0. - Use a library like
delorrimraf?