move some utility transformers to minification
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
function foo() {
|
||||
true && console.log("foo");
|
||||
blah();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
function foo() {
|
||||
true;
|
||||
blah();
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
true && console.log("foo");
|
||||
blah();
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
|
||||
true;
|
||||
blah();
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"optional": ["minification.removeConsole"]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
function foo() {
|
||||
console.log("foo");
|
||||
blah();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
|
||||
function foo() {
|
||||
blah();
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
console.log("foo");
|
||||
blah();
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
|
||||
blah();
|
||||
Reference in New Issue
Block a user