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.

6 lines (5 loc) 380 B
var dependencies = require("./dep"); if (dependencies.one.boothDeepAndShalow("_X")!="DEEP_TEST_X") throw new Error("ups did not work requiring a directory 1: " + dependencies.one.boothDeepAndShalow("_X")); if (dependencies.two.boothDeepAndShalow("_X")!="TEST_X") throw new Error("ups did not work: requiring a directory 2: " + dependencies.two.boothDeepAndShalow("_X"));