Closed marioloncarek closed 8 years ago
It would seem that the problem is in the way you have it set up. You are generating a different main.js file in every block. How will you know which one is right? My guess is which ever one gets written by gulp last is the one you get.
Yes i missed the point behind this plugin, i needed something else. Thanks for your time!
I have 5 HTML files in my project and every has a useref block in the bottom like this:
Common JS file in all 5 files are
plugins.js
. I need that JS file in every HTML file and its repeating in all my files. My second HTML file has this block (again plugins.js is there) :And my fifth HTML file has this block:
So in every file im using plugins.js and in some files i use some other libraries. But when i run task this three files are not concatenated into main.js. Only thing in main.js is content from plugins.js . Other libraries are not included into main.js. Why is that so? Can i even use this plugin like that?
My gulp task: