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:
parent
3cebb430c2
commit
29ee2590d4
@ -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: ".",
|
||||||
}),
|
}),
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user