Skip to content

Comment Out a replace #46

Description

@combmag-zz

Image i have this index.html

<!-- build:dev -->
<script src=angular.js></script>
<script src=app.js></script>
<!--endbuild -->

<!-- build:prod -->
<!-- <script src=bundle.js></script> -->
<!--endbuild -->

it would be nice if i can have a task to specify to comment out the section of build dev and uncomment the section of build prod so the result would be:

<!-- build:dev -->
<!-- <script src=angular.js></script> -->
<!-- <script src=app.js></script> -->
<!--endbuild -->

<!-- build:prod -->
<script src=bundle.js></script>
<!--endbuild -->

What do you guys think?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions