javascript - How to concatenate files which are in <!-- build:js -->? -


i have multiple html files in have usemin comment this:

html 1

<!-- build:js scripts/vendor1.js -->   <script src="scripts/script1.js"></script>   <script src="scripts/script2.js"></script> <!-- endbuild --> 


html 2

<!-- build:js scripts/vendor2.js -->   <script src="scripts/script1.js"></script>   <script src="scripts/script2.js"></script> <!-- endbuild --> 


html 3

<!-- build:js scripts/vendor3.js -->   <script src="scripts/script1.js"></script>   <script src="scripts/script2.js"></script> <!-- endbuild --> 

how concatenate files between build:js via gruntfile? , create vendor1.js, vendor2.js , vendor3.js

thanks in advance help.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -