Stop building any src/ files during the gulp default_preferences task

With the changes made in the previous patch, the `web/app_options.js` file no longer depends on anything *except* files residing in the `web/` folder. Hence the `gulp default_preferences` task can now be further simplified and thus becomes even faster than before; see also PR 11724.
This commit is contained in:
Jonas Jenwald 2020-03-21 12:53:20 +01:00
parent 18e0b10d3c
commit ebef67b354

View File

@ -563,14 +563,6 @@ gulp.task("default_preferences-pre", function () {
};
var preprocessor2 = require("./external/builder/preprocessor2.js");
return merge([
gulp.src(
[
"src/{display,shared}/*.js",
"!src/shared/{cffStandardStrings,fonts_utils}.js",
"src/pdf.js",
],
{ base: "src/" }
),
gulp.src(["web/{app_options,viewer_compatibility}.js"], {
base: ".",
}),