mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	build(copy-dist): avoid copying over the app dir into dist
we have the bundled "app-dist" already in the "dist", copying over the original unbundled "app" folder serves no benefit here
This commit is contained in:
		
							parent
							
								
									af5e4ee3b5
								
							
						
					
					
						commit
						24382d8176
					
				| @ -56,7 +56,7 @@ const copy = async () => { | |||||||
|         await fs.copy(dir, path.join(DEST_DIR, dir)); |         await fs.copy(dir, path.join(DEST_DIR, dir)); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     const srcDirsToCopy = ["./src/public", "./src/views"]; |     const srcDirsToCopy = ["./src/views"]; | ||||||
|     for (const dir of srcDirsToCopy) { |     for (const dir of srcDirsToCopy) { | ||||||
|         log(`Copying ${dir}`); |         log(`Copying ${dir}`); | ||||||
|         await fs.copy(dir, path.join(DEST_DIR_SRC, path.basename(dir))); |         await fs.copy(dir, path.join(DEST_DIR_SRC, path.basename(dir))); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Panagiotis Papadopoulos
						Panagiotis Papadopoulos