Currently, my nestjs app saves uploaded files on disk in the dist folder ('public/images/...'). However, when
npm run build
is executed, all images get deleted because this build step wipes out the entire dist folder.
How can I ensure that the images are preserved even after running the build task?