Webpack / Encore handles unpublished source images

I am trying to get Webpack to process and copy all image files in my src folder and output them to the build folder using "image-webpack-loader". As I understand it, Webpack will only do this with images specified in CSS / SASS / LESS or entry point.

I am working on a Symfony project and have a lot of links in the branch templates that are obviously ignored. Any idea how I can do this without adding a build tool or creating a duplicate link file for every image I include in the project template?

+3


source to share





All Articles