1 2 3 4 5 6
var fs = require("fs"); new Function("exports", require("../tools/node").FILES.map(function(file) { if (/exports\.js$/.test(file)) file = require.resolve("./exports"); return fs.readFileSync(file, "utf8"); }).join("\n\n"))(exports);