feat: reproducible build (#412)
for sitemap, RSS and contentIndex.json.
This commit is contained in:
		
							parent
							
								
									c8412a5b0a
								
							
						
					
					
						commit
						8cf7280614
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -45,7 +45,7 @@ async function buildQuartz(argv: Argv, mut: Mutex, clientRefresh: () => void) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  perf.addEvent("glob")
 | 
					  perf.addEvent("glob")
 | 
				
			||||||
  const allFiles = await glob("**/*.*", argv.directory, cfg.configuration.ignorePatterns)
 | 
					  const allFiles = await glob("**/*.*", argv.directory, cfg.configuration.ignorePatterns)
 | 
				
			||||||
  const fps = allFiles.filter((fp) => fp.endsWith(".md"))
 | 
					  const fps = allFiles.filter((fp) => fp.endsWith(".md")).sort()
 | 
				
			||||||
  console.log(
 | 
					  console.log(
 | 
				
			||||||
    `Found ${fps.length} input files from \`${argv.directory}\` in ${perf.timeSince("glob")}`,
 | 
					    `Found ${fps.length} input files from \`${argv.directory}\` in ${perf.timeSince("glob")}`,
 | 
				
			||||||
  )
 | 
					  )
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue