Reputation: 115
I use latest PhpStorm 2017.2.3 and latest uglify.js. In my Toolsettings id do this:
Than i add a testfile (test.js) in the module dir and take some code inside:
function test () {
var messsage = 'hello world';
alert(messsage);
}
The uglify result is this:
function test(){var messsage="hello world";alert(messsage)}
The tool don't minified the code, it only bring it in one line! What i have to change in my settings to minify js-code?
Upvotes: 1
Views: 2614