I have a Vue project created with the CLI, and need to add a script that triggers when the contents of the folder changes.
The goal is to make it so that when an image is changed in the images folder, the script needs to process those images and spit out the results into a separate folder, which are then used in the app. This needs to be done before the Vue app is compiled and served so that the processed versions are available to the app.
I'm pretty new to working with things the way Vue is setup, where things are pretty abstracted with the Vue-cli abstracting webpack in some way I'm not really sure what's going on under the hood, or how I would go about modifying the setup to allow me to do what I need. Anyone with more experience with the setup know how this might be done?