I'm not really a fan of gulp but is it possible for gulp to do very similar to django compressor? Something like this in the HTML files:
{% compress js %}
<script type="text/javascript" src="one.js"></script>
<script type="text/javascript" src="two.js"></script>
<script type="text/javascript" src="three.js"></script>
<script type="text/javascript" src="four.js"></script>
<script type="text/javascript" src="five.js"></script>
{% endcompress %}
{% compress csss %}
<link rel="stylesheet" href="one.css">
<link rel="stylesheet" href="two.css">
<link rel="stylesheet" href="three.css">
<link rel="stylesheet" href="four.css">
<link rel="stylesheet" href="five.css">
{% endcompress %}
The code above will automatically create a minified and concatenated cached file within the tags every page reload
I'm aware that gulp is good in concatenation and minification but as I see(by reading the documentation) you still need to manually code it or add the files in the gulpfile.js all through out.
Or is there any other front-end tools that can be used to achieve this?
PS
I'm searching a compressor for my 'front-end only' app