From 8c9f50e7378b206e83c3f644532a3c3893d3de1f Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 4 Oct 2016 14:08:07 +0200 Subject: [PATCH] Does not use gulp 'production' flag for openslides.js. Comment out uglify function for openslides.js. Added TODO that all OpenSlides js files needed rework before uglified code works correctly. --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 955dbbcf6..5497a52ab 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,7 +47,8 @@ gulp.task('js', function () { .pipe(sourcemaps.init()) .pipe(concat('openslides.js')) .pipe(sourcemaps.write()) - .pipe(gulpif(argv.production, uglify())) + //TODO: Needs rework in all js files that uglified code works correctly. + //.pipe(gulpif(argv.production, uglify())) .pipe(gulp.dest(path.join(output_directory, 'js'))); });