Merge pull request #2484 from emanuelschuetze/gulp-production-fix

Does not use gulp 'production' flag for openslides.js.
This commit is contained in:
Norman Jäckel 2016-10-04 16:11:03 +02:00 committed by GitHub
commit b743d8542f

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