Merge pull request #2484 from emanuelschuetze/gulp-production-fix
Does not use gulp 'production' flag for openslides.js.
This commit is contained in:
commit
b743d8542f
@ -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')));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user