preprocess icon indicating copy to clipboard operation
preprocess copied to clipboard

Opposite of @exclude (or !> for js/coffee files)

Open YourDeveloperFriend opened this issue 11 years ago • 2 comments

It'd be great if there could be a way to explicitly include a line only after compiling:

# @include
# productionOnlyMethod()
# @endinclude

YourDeveloperFriend avatar Jun 25 '14 00:06 YourDeveloperFriend

For js it is probably possible.

/* @if true **
productionOnlyMethod()
/* @endif */

Frizi avatar Jun 16 '15 08:06 Frizi

Or, if it's only a single line:

// @echo 'productionOnlyMethod()'

BendingBender avatar Jun 16 '15 08:06 BendingBender