brunocodutra / webapp-webpack-plugin

[DEPRECATED] use favicons-webpack-plugin instead
https://www.npmjs.com/package/webapp-webpack-plugin
MIT License
125 stars 17 forks source link

find-cache-dir #96

Closed alecmev closed 6 years ago

alecmev commented 6 years ago

Consider using find-cache-dir to locate the default cache directory. This is what babel-loader and eslint-loader are already doing, so it shouldn't surprise the user. I'm personally interested in this because I don't like unnecessary configuration (changing plugin options), .gitignore / .eslintignore / .prettierignore / .dockerignore / .*ignore bloat, and longer directory listings.

One thing to look out for is that yarn wipes out node_modules/.cache on every install, apparently, but no big deal, this is just a cache.

brunocodutra commented 6 years ago

Sounds like a great idea, thanks for the heads up!