v3.17.0
Comparing Changes: v3.16.3...v3.17.0
- β test: add test case. 1e70603
- π chore(deps): Update dependency uglify-js to v3.17.0 (#6) 37908ad @renovate-bot
npm i uglify-js-export@3.17.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}