Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: remove development code #90

Open
larvanitis opened this issue Mar 30, 2017 · 0 comments
Open

Feat: remove development code #90

larvanitis opened this issue Mar 30, 2017 · 0 comments

Comments

@larvanitis
Copy link

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 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant