Skip to content

Commit 8bc338c

Browse files
Don't uglify nzbhydra js code
1 parent 8d6f32b commit 8bc338c

File tree

5 files changed

+7292
-12
lines changed

5 files changed

+7292
-12
lines changed

gulpfile.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gulp.task('scripts', function () {
5656
.on('error', swallowError)
5757
.pipe(sourcemaps.init())
5858
.pipe(concat('nzbhydra.js'))
59-
.pipe(uglify())
59+
//.pipe(uglify()) //Will cause errors
6060
.on('error', swallowError)
6161
.pipe(sourcemaps.write('./'))
6262
.pipe(gulp.dest(dest));
@@ -91,7 +91,7 @@ gulp.task('less', function () {
9191
.on('error', swallowError)
9292
.pipe(sourcemaps.write("."))
9393
.pipe(gulp.dest(dest));
94-
94+
9595
return merge(brightTheme, greyTheme, darkTheme);
9696
});
9797

@@ -138,7 +138,6 @@ gulp.task('delMainLessCache', function () {
138138
});
139139

140140

141-
142141
gulp.task('index', function () {
143142
runSequence(['scripts', 'less', 'vendor-scripts', 'vendor-css', 'copy-assets'], ['reload', 'add']);
144143
});

static/css/alllibs.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/alllibs.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/nzbhydra.js

+7,285-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/nzbhydra.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)