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.
This commit is contained in:
Emanuel Schuetze 2016-10-04 14:08:07 +02:00
parent d0f4b59413
commit 8c9f50e737

View File

@ -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')));
});