summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Rueckstiess <thomas@rueckstiess.net>2015-01-06 12:40:17 +1100
committerThomas Rueckstiess <thomas@rueckstiess.net>2015-01-06 16:01:47 +1100
commite16b5e1f677c8eb38ebd5a935cf4abf03d24acc5 (patch)
tree744ec74dc0d24acab3bcfce94b27abcfce0344b9 /tools
parentda74fb8f3e4acf5ed4c84d00a409560e2f8b8798 (diff)
downloadmongo-e16b5e1f677c8eb38ebd5a935cf4abf03d24acc5.tar.gz
do not mangle "data" variable, needed for python tests.
Diffstat (limited to 'tools')
-rw-r--r--tools/template/gulpfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/template/gulpfile.js b/tools/template/gulpfile.js
index 4d78b6ad65b..e03be8dcaf3 100644
--- a/tools/template/gulpfile.js
+++ b/tools/template/gulpfile.js
@@ -60,7 +60,7 @@ gulp.task('js', function() {
// Uglify for compression if not in DEBUG.
if (!DEBUG) {
return b.pipe(buffer())
- .pipe(uglify())
+ .pipe(uglify({mangle: { except: ["data"] }}))
.pipe(gulp.dest(BUILD));
} else {
return b.pipe(gulp.dest(BUILD));