image-optimize-loader icon indicating copy to clipboard operation
image-optimize-loader copied to clipboard

Webpack 5 Caching

Open busybox11 opened this issue 2 years ago • 0 comments

Caching does not seem to work with Webpack 5 using this module as a loader. By looking at the code, on the file loader.js, it looks like it is only initializing the cache for Webpack 4 (I'm not sure though). Is that the intended behavior? If not, will the cache permit me to keep generated assets for future compilations, in case said assets haven't changed between production builds? Thanks in advance!

busybox11 avatar Jul 12 '22 15:07 busybox11