I'm using some standard gulp processes to minify my html, css and javascript. The problem I have at the moment is that i'm concatenating and uglifying my JS into one clean scripts.js file. The distribution folder still points to multiple JS files, for example:
<script type="text/javascript" src="mock-data-live.js"></script>
<script type="text/javascript" src="vibrant.min.js></script>
<script type="text/javascript" src="siema.min.js"></script>
<script type="text/javascript" src="script.min.js"></script>
Becomes
<script type="text/javascript" src="script.min.js"></script>
Is there a way I can change my original paths in HTML when minifying so they all point to the one concatenated file?
Thank you
<script type="text/javascript" src="script.min.js"></script>?type="text/javascript"can be removed as this would be the default for all script tags.