This allows other processors who need to know about the copyContentAssets processors to ensure that the runs after the content has been copied.
		
			
				
	
	
		
			12 lines
		
	
	
		
			223 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			223 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 
 | |
| module.exports = function copyContentAssetsProcessor(copyFolder) {
 | |
|   return {
 | |
|     assetMappings: [],
 | |
|     $process() {
 | |
|       this.assetMappings.forEach(map => {
 | |
|         copyFolder(map.from, map.to);
 | |
|       });
 | |
|     }
 | |
|   };
 | |
| };
 |