I have a directory for images as follows:
Within the icons sub directory I have SVGs to organize the structure.
Within webpack, I specify the following:
.copyFiles({
from: './assets/images',
to: '[path][name].[hash:8].[ext]',
context: './assets'
})
What happens in the build is as follows:
What happens here is it copies all of the icons within the directory and copies it directly into the images directory while also copies the icons directory. It does it twice. Is there a reason why this happens? How do I ensure that it doesn't copy the content twice within webpack?

