Closed qodesmith closed 8 years ago
Pasting the answer from the SO question I posted:
[
'!dev/js/vendor-list.js', // can probably be included in the statement below.
'/dev/js/!(app)*.js', // all files that end in .js EXCEPT app*.js
'/dev/js/app.js', // this should be concatenated last
]
If I run the above, everything get's concatenated as it should, ignoring
vendor-list.js
. Lumped in there somewhere isapp.js
. The problem is, I needapp.js
concatenated last. I tried the following to no avail (just me guessing):While the concatenation still works, unfortunately
app.js
isn't tacked on the the end of the resulting file. Is there a way to do this? I thought about doing two streams in thescripts
task and then merging them, but I was hoping for a simpler solution. Thank you!