Skip to content

Commit

Permalink
Don't uglify nzbhydra js code
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Nov 29, 2017
1 parent 8d6f32b commit 8bc338c
Show file tree
Hide file tree
Showing 5 changed files with 7,292 additions and 12 deletions.
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gulp.task('scripts', function () {
.on('error', swallowError)
.pipe(sourcemaps.init())
.pipe(concat('nzbhydra.js'))
.pipe(uglify())
//.pipe(uglify()) //Will cause errors
.on('error', swallowError)
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(dest));
Expand Down Expand Up @@ -91,7 +91,7 @@ gulp.task('less', function () {
.on('error', swallowError)
.pipe(sourcemaps.write("."))
.pipe(gulp.dest(dest));

return merge(brightTheme, greyTheme, darkTheme);
});

Expand Down Expand Up @@ -138,7 +138,6 @@ gulp.task('delMainLessCache', function () {
});



gulp.task('index', function () {
runSequence(['scripts', 'less', 'vendor-scripts', 'vendor-css', 'copy-assets'], ['reload', 'add']);
});
Expand Down
6 changes: 3 additions & 3 deletions static/css/alllibs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/css/alllibs.css.map

Large diffs are not rendered by default.

7,289 changes: 7,285 additions & 4 deletions static/js/nzbhydra.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/nzbhydra.js.map

Large diffs are not rendered by default.

0 comments on commit 8bc338c

Please sign in to comment.