diff --git a/gulpfile.mjs b/gulpfile.mjs index 6d7033e40..fd3ab7149 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -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(