jonkemp / gulp-useref

Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
MIT License
705 stars 93 forks source link

Does not work properly with list of scripts in one-line writing #270

Open mvicens opened 1 year ago

mvicens commented 1 year ago

Following your documented sample, if the <script>s are compressed in the same line:

<html>
<head></head>
<body>
    <!-- build:js scripts/combined.js -->
    <script type="text/javascript" src="scripts/one.js"></script><script type="text/javascript" src="scripts/two.js"></script>
    <!-- endbuild -->
</body>
</html>

It processes only the first file: it does not work!