Skip to content

v3.17.1

Choose a tag to compare

@github-actions github-actions released this 04 Sep 14:06
· 30 commits to main since this release

npm version npm version CI

Comparing Changes: v3.17.0...v3.17.1

  • 🐞 fix: fix uglify-js@3.17.0 error. 45ec04b
npm i uglify-js-export@3.17.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}