Can not use js compress tool for multiline function
hjzheng opened this issue · comments
HaoJu Zheng commented
Can not use js compress tool for multiline function, for example
var str = multiline(function(){/*
<!doctype html>
<html>
<body>
<h1>❤ unicorns</h1>
</body>
</html>
*/});
after compress (use YUI Compressor)
var str=multiline(function(){});
So do you have some method to handle this case.
Sindre Sorhus commented
Already documented in the readme. Please read it.