Skip to content

v3.19.3

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Aug 16:25

Buy me a coffee npm version npm version CI

Comparing Changes: v3.19.2...v3.19.3

  • πŸ’„ chore(deps): update dependency uglify-js to v3.19.3 d4556dc
import UglifyJS from 'uglify-js-export';

const code = "function add(first, second) { return first + second; }";
const result = UglifyJS.minify(code);

console.log(result.error); // runtime error, or `undefined` if no error
console.log(result.code);  // minified output: function add(n,d){return n+d}