Only build the necessary web/ files during the gulp default_preferences task

By explicitly specifying only the required `web/` files, the runtime of the gulp task is reduced by approximately 30 percent.
This commit is contained in:
Jonas Jenwald 2020-03-21 11:34:32 +01:00
parent 3cebb430c2
commit 29ee2590d4

View File

@ -602,7 +602,7 @@ gulp.task("default_preferences-pre", function() {
], ],
{ base: "src/" } { base: "src/" }
), ),
gulp.src(["web/*.js", "!web/{app,pdfjs,preferences,viewer}.js"], { gulp.src(["web/{app_options,viewer_compatibility}.js"], {
base: ".", base: ".",
}), }),
]) ])