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:
		
							parent
							
								
									18e0b10d3c
								
							
						
					
					
						commit
						ebef67b354
					
				@ -563,14 +563,6 @@ gulp.task("default_preferences-pre", function () {
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
  var preprocessor2 = require("./external/builder/preprocessor2.js");
 | 
					  var preprocessor2 = require("./external/builder/preprocessor2.js");
 | 
				
			||||||
  return merge([
 | 
					  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"], {
 | 
					    gulp.src(["web/{app_options,viewer_compatibility}.js"], {
 | 
				
			||||||
      base: ".",
 | 
					      base: ".",
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user