diff --git a/gulpfile.js b/gulpfile.js index 04a645394..7c461f4f1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -86,7 +86,7 @@ function buildTask() { " }\n"+ "}(this || window, function(<%= param %>) {\n"+ "<%= contents %>\n"+ - "return <%= exports %>;\n"+ + "return this.<%= exports %>;\n"+ "}));\n", dependencies: function() { return ['moment']