UNPKG
grunt-remove-logging
Version:
latest (0.2.0)
0.2.0
0.1.1
0.1.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Grunt task to remove console logging statements
ehynds/grunt-remove-logging
grunt-remove-logging
/
example
/
js
/
app.js
8 lines
(7 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
if
(
true
) {
console
.
log
(
"These"
);
console
.
warn
(
'console'
);
console
.
error
(
'statements'
);
console
.
dir
({
will
: be,
removed
:
"true"
});
console
.
log
(
"except for this one!"
);
/*RemoveLogging:skip*/
}