grunt-devcode
grunt-devcode copied to clipboard
Add code for prod, not just dev
I see in the readme file that I can tell something to be removed for production but can something be added for production? As in if env is dev "use this code" if env is prod "use this code".
+1
Sure - sorry for such a late reply :)
For non production
<!-- devcode: !production -->
<li class="right"><a href="#settings" data-toggle="tab">Settings</a></li>
<!-- endcode -->
and for production
<!-- devcode: production -->
<li class="right"><a href="#settings" data-toggle="tab">Settings</a></li>
<!-- endcode -->