uglify-js version (uglifyjs -V)
var result = uglifyJS.minify( [ distUwpNextAppJsFilePath ] );
fs.writeFileSync( distUwpNextAppJsFilePath, result.code );
uglifyjs CLI command executed or minify() options used.Note: the release version of uglify-js only supports ES5. Those wishing to minify ES6 should use the experimental harmony branch.
minify() enables compress and mangle by default.
To get the same effect from the CLI use:
uglifyjs theSameFile -m -c
@alexlamsl We should wrap an HTML comment around this line in the Issue template:
Note: the release version of uglify-js only supports ES5. Those wishing to minify ES6 should use the experimental harmony branch.
<!--
Note: the release version of uglify-js only supports ES5. Those wishing
to minify ES6 should use the experimental harmony branch.
-->
Also should change this line:
* Bug report or feature request?
to
* Bug report or feature request? <!-- Note: suboptimal but correct code is not a bug -->
@kzc thanks for the suggestions - updated in https://github.com/mishoo/UglifyJS2/commit/b454ce667eb8d9179c74532f308484bdae5392f5
Should we put the following at the start of the Issue template?
<!-- Fill out all sections. Issues not following this template will be closed. -->
I'd prefer to keep that as a gentlemen's agreement, if that's alright with you. 馃槄
Alright. You're much nicer than I am.
Alright. You're much nicer than I am.
I believe you are referring to the person who has access to the _Close Issue_ button. 馃懟