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:
parent
d0f4b59413
commit
8c9f50e737
@ -47,7 +47,8 @@ gulp.task('js', function () {
|
|||||||
.pipe(sourcemaps.init())
|
.pipe(sourcemaps.init())
|
||||||
.pipe(concat('openslides.js'))
|
.pipe(concat('openslides.js'))
|
||||||
.pipe(sourcemaps.write())
|
.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')));
|
.pipe(gulp.dest(path.join(output_directory, 'js')));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user