Skip to content

v3.19.2

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 13:21
· 2 commits to main since this release

Buy me a coffee npm version npm version CI

Comparing Changes: v3.19.1...v3.19.2

  • πŸ’„ chore(deps): update dependency uglify-js to v3.19.2 04928c7
npm i uglify-js-export@3.19.2
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}