Skip to content

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 26 May 08:36
· 52 commits to main since this release

Comparing Changes: v1.0.0...v1.0.1

  • πŸ’„ chore: add workflows config. 6745707
  • πŸ’„ chore: update workflows config. f2ed8e3
  • πŸ’„ chore: update workflows config. 6063b97
npm i uglify-js-export@1.0.1
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}