You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran across this when minifying some javascript that had comments // with an @ sign right afterwards.
It caused a whole chunk of code to be commented out. We fixed by changing to the alternate comment syntax /**
Test Case:
//@todo: This Comment causes issue with JSShrink
function test(){
console.log('Hello World');
}
function test2(){
test();
}
Output:
//@todo: This Comment causes issue with JSShrinkfunction test(){console.log('Hello World');}
function test2(){test();}
The text was updated successfully, but these errors were encountered:
We ran across this when minifying some javascript that had comments // with an @ sign right afterwards.
It caused a whole chunk of code to be commented out. We fixed by changing to the alternate comment syntax /**
Test Case:
//@todo: This Comment causes issue with JSShrink
function test(){
console.log('Hello World');
}
function test2(){
test();
}
Output:
//@todo: This Comment causes issue with JSShrinkfunction test(){console.log('Hello World');}
function test2(){test();}
The text was updated successfully, but these errors were encountered: