UNPKG

node-uglifier-es

Version:

Fully auto merging and uglifying a whole NodeJs project into one file with external files option. Recompiled from Zsolt Istvan Szabo's work with uglify-es instead of uglify-js-harmony.

14 lines (10 loc) 499 B
#so far not all errors are here util=require("util") class CyclicDependencies extends Error constructor: (cyclesArrOfArr)-> @name = 'CyclicDependencies' @cycles=cyclesArrOfArr # console.log(util.inspect(cyclesArrOfArr,{ showHidden: true, depth: null })) msg="There has been " + cyclesArrOfArr.length + " cycles in the dependency tree: \n" + util.inspect(cyclesArrOfArr,{ showHidden: true, depth: null }) return super msg module.exports.CyclicDependencies =CyclicDependencies