Would like to able to assign a group attribute to tags, then have the respective concatenated files output at a place of my choosing:
<html>
<head>
<v:asset src="/javascripts/some.crap.js" group="my_group" />
<v:asset src="/javascripts/some.other.crap.js" group="my_group" />
<v:asset:output group="my_group" />
<!-- outputs: <script src="blahblahblah.js" type="text/javascript"></script>-->
</head>
<body>
<!-- a cabillion lines later -->
<v:asset src="/javascripts/some.crap.iwanthere.js" group="my_other_group" />
<v:asset src="/javascripts/some..other.crap.iwanthere.js" group="my_other_group" />
<v:asset:output group="my_group" />
<!-- outputs: <script src="yeahyeahyeah.js" type="text/javascript"></script> -->
</body>
</html>
Is this something that could be possible in the future?
It looks like you're new here. If you want to get involved, click one of these buttons!