Personal I have a folder inside the resources called js where it has several JS files and subfolders with other JSs. How do I set up Laravel Mix for it to compile all the contents of the JS folder including the subfolders into the public / js folder while retaining the original names and folders and if possible applying the versioning to the files. Ex.
resources / js / teste1.js
resources / js / teste2.js
resources / js / teste3.js
resources / js / temp / teste1.js
resources / js / temp / test2.js
After compiling it has to look like this:
public / js / teste1.js
public / js / teste2.js
public / js / teste3.js
public / js / temp / teste1.js
public / js / temp / test2.js
Thank you