webpack-contrib/image-minimizer-webpack-plugin

does not work with copy-webpack-plugin

felschr opened this issue · 4 comments

My CopyWebpackPlugin comes before ImageminPlugin as instructed.
The images from CopyWebpackPlugin are nowhere to be found in the build folder, though.
When I remove the ImageminPlugin they are being copied successfully.

@felschr please provide minimum reproducible test repo

/cc @felschr friendly ping

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks!

A bit late, but just use: name: "[path][name].[ext]" to have the copied files replaced and optimized.