v1.0.1
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.1import 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}