Merge pull request #753 from Surgo/master

Support wrap and exportAll options for node.js tools.
This commit is contained in:
Richard van Velzen
2015-08-05 21:17:42 +02:00

View File

@@ -84,6 +84,9 @@ exports.minify = function(files, options) {
});
});
}
if (options.wrap) {
toplevel = toplevel.wrap_commonjs(options.wrap, options.exportAll);
}
// 2. compress
if (options.compress) {