Closed AndreLion closed 9 years ago
Hi, I am requiring a new feature like this:
<!-- build:[src]:dev,prod //dev.cdn.com/js/ //cdn.com/js/ --> <script src="js/lib.js"></script> <!-- /build -->
So that different grunt task can output different html code, for example:
The grunt command:
grunt.task.run('processhtml:dev');
generate:
<script src="//dev.cdn.com/js/lib.js"></script>
Or the grunt command:
grunt.task.run('processhtml:prod');
<script src="//cdn.com/js/lib.js"></script>
Many thanks. Andre
You could achieve that using two different comments
Hi, I am requiring a new feature like this:
So that different grunt task can output different html code, for example:
The grunt command:
generate:
Or the grunt command:
generate:
Many thanks. Andre