mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Manually fix remaining ESLint errors
This commit is contained in:
parent
ef1f255649
commit
9e3f7ac7fa
9 changed files with 42 additions and 21 deletions
|
@ -24,9 +24,11 @@ gulp.task('build-worker', function() {
|
|||
return browserify(workerSrc, { output: TMP_FILE_PREFIX + 'worker.tmp', })
|
||||
.bundle()
|
||||
.pipe(source(TMP_FILE_PREFIX + 'worker.tmp'))
|
||||
.pipe(streamify(uglify({ compress: {
|
||||
sequences: false, // Chrome has issue with the generated code if true
|
||||
}, })))
|
||||
.pipe(streamify(uglify({
|
||||
compress: {
|
||||
sequences: false, // Chrome has issue with the generated code if true
|
||||
},
|
||||
})))
|
||||
.pipe(rename('pdf.worker.bundle.js'))
|
||||
.pipe(gulp.dest(OUTPUT_PATH));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue