v3.16.0
Comparing Changes: v3.15.5...v3.16.0
- π doc: Update README.md 0499567
- π doc: Update README.md 38c50fb
- π Update dependency uglify-js to v3.16.0 (#4) 2e94b78 @renovate-bot
npm i uglify-js-export@3.16.0import 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}