minimize icon indicating copy to clipboard operation
minimize copied to clipboard

Feat: remove development code

Open larvanitis opened this issue 7 years ago • 0 comments

Please, add the option to remove devel/debug code.

Use case: keep debugging code in source for development builds but remove it during production.

I am not sure how the implementation works but something in the lines of this would be great.

As attribute:

<div @dev-only>
  <!-- this element and its contents get removed -->
</div>

As comment:

<!-- @dev-only:start -->
...
<!-- everything here gets removed -->
...
<!-- @dev-only:end -->

larvanitis avatar Mar 30 '17 17:03 larvanitis