Closed parnasmi closed 7 years ago
I am using gulp-useref. Unfortunately, when I use useref while ''build' task, it is some deleting the closing tag of the last tag before the Useref comment tags. For example: This
<footer class="page-foooter"> <p>Some testing text23</p> </footer><!-- build:js js/vendor.min.js --> <!-- bower:js --> <script src="/js/vendor/jquery/dist/jquery.js"></script> <script src="/js/vendor/magnific-popup/dist/jquery.magnific-popup.js"></script> <script src="/js/vendor/qtip2/jquery.qtip.js"></script> <script src="/js/vendor/picturefill/dist/picturefill.js"></script> <!-- endbower --> <!-- endbuild -->
becomes to
<footer class="page-foooter"> <p>Some testing text23</p> <script src="js/vendor.min.js"></script>
How to solve the problem? Thank you.
The start of your comment should be on a new line.
Thank you. You are right!
I am using gulp-useref. Unfortunately, when I use useref while ''build' task, it is some deleting the closing tag of the last tag before the Useref comment tags. For example: This
becomes to
How to solve the problem? Thank you.