mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue