Open benjaminfunk opened 4 years ago
There seems to be some work in progress: https://github.com/symfony/webpack-encore/pull/675
Is it possible to configure it in webpack without the PR?
Were you able to solve the problem @bnjmnfnk ?
@daviddavo Nope. Still waiting for #675 :(
You have to put copyFiles BEFORE the minifier, it worked for me
@daviddavo Intriguing. Putting copyFiles before or after the addLoader didn't make a difference for me.
Still its not solved. I found alternative image-minimizer-webpack-plugin How to use it: https://stackoverflow.com/a/75714078/624533
My goal is to copy all images inside my "assets/images" folder to "build/images" in an optimized version. The copy works fine, but the optimize not. I tried different ways but nothing worked. Bug or wrong configuration?