Generally – I thought:
– Find where the script is being enqueued and note down the enqueue handle
– Then go to your Child Theme functions.php file and dequeue that script using its handle
– And then enqueue the script you want to use instead through your Child Theme functions.php file
That’ll be your modified “tc-scripts” file. So copy the JS that’s in the non-minified “tc-scripts” file and paste it into a new file in your Child Theme “js”(?) folder? Then make your tweaks to that file in your Child Theme.
I haven’t a clue what most of that means 🙂 but it sounds logical.
Thanks for this interesting thread (I guess this will be useful for many users) and those crystal clear explanations @andrew!