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.

18 lines (12 loc) 470 B
var cachedModules=[]; cachedModules[7624]={exports:{}}; (function(module,exports) {module.exports=({ "domain": "www.example.com", "mongodb": { "host": "localhost", "port": 27017 } });}).call(this,cachedModules[7624],cachedModules[7624].exports);var randomJson=cachedModules[7624].exports; if (randomJson.domain!=="www.example.com") { throw new Error("ups did not work we got: " + randomJson.domain + " instead www.example.com "); }