Merge pull request #17717 from Snuffleupagus/pr-17681-follow-up

Combine a few lines in the `dist-pre` target (PR 17681 follow-up)
This commit is contained in:
Jonas Jenwald 2024-03-12 15:15:19 +01:00 committed by GitHub
commit b54887cfab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2222,25 +2222,15 @@ gulp.task(
])
.pipe(gulp.dest(DIST_DIR + "legacy/build/")),
gulp
.src(MINIFIED_DIR + "build/pdf.min.mjs")
.pipe(gulp.dest(DIST_DIR + "build/")),
gulp
.src(MINIFIED_DIR + "build/pdf.worker.min.mjs")
.pipe(gulp.dest(DIST_DIR + "build/")),
gulp
.src(MINIFIED_DIR + "build/pdf.sandbox.min.mjs")
.src(MINIFIED_DIR + "build/{pdf,pdf.worker,pdf.sandbox}.min.mjs")
.pipe(gulp.dest(DIST_DIR + "build/")),
gulp
.src(MINIFIED_DIR + "image_decoders/pdf.image_decoders.min.mjs")
.pipe(gulp.dest(DIST_DIR + "image_decoders/")),
gulp
.src(MINIFIED_LEGACY_DIR + "build/pdf.min.mjs")
.pipe(gulp.dest(DIST_DIR + "legacy/build/")),
gulp
.src(MINIFIED_LEGACY_DIR + "build/pdf.worker.min.mjs")
.pipe(gulp.dest(DIST_DIR + "legacy/build/")),
gulp
.src(MINIFIED_LEGACY_DIR + "build/pdf.sandbox.min.mjs")
.src(
MINIFIED_LEGACY_DIR + "build/{pdf,pdf.worker,pdf.sandbox}.min.mjs"
)
.pipe(gulp.dest(DIST_DIR + "legacy/build/")),
gulp
.src(