Merge pull request #753 from Surgo/master
Support wrap and exportAll options for node.js tools.
This commit is contained in:
commit
958b6c2e57
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user