I just joined an existing project that uses vanilla JS and I am trying to minify our source code. Unfortunately, there is no reference to the javascript files within the index.js, (All variables are global due to external scripts declared in the index.html file..), so solutions such as WebPack do not work.
Is there a solution out there that can parse through all of the external script tags in the index.html to minify it into a single separate js file?
<script>tags are we talking about? Because for maybe 10 you are better off by hand. I'm not sure if such tool exists but it will be cool to make.