Merge pull request #753 from Surgo/master
Support wrap and exportAll options for node.js tools.
This commit is contained in:
@@ -84,6 +84,9 @@ exports.minify = function(files, options) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (options.wrap) {
|
||||||
|
toplevel = toplevel.wrap_commonjs(options.wrap, options.exportAll);
|
||||||
|
}
|
||||||
|
|
||||||
// 2. compress
|
// 2. compress
|
||||||
if (options.compress) {
|
if (options.compress) {
|
||||||
|
|||||||
Reference in New Issue
Block a user