diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/node.js b/tools/node.js index cbe49e39..7bba3231 100644 --- a/tools/node.js +++ b/tools/node.js @@ -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) { |