code: function(routes, customFiles) {
  
  	// Always ignore the following files
  	const ignoredFiles = [
  		'**/CVS',
  		'**/.git',
  		'**/.svn',
  		'**/.hg',
  		'**/.lock-wscript',
  		'**/.wafpickle-N'
  	]
  
  	// Extract the path out of the routes
  	const ignoredRoutes = routes.map((route) => route.path)
  
  	// Return all ignored files
  	return [
  		...ignoredFiles,
  		...ignoredRoutes,
  		...customFiles
  	]
  
  }
docs: Get a list of files which should not be copied.
  @param {Array} routes - Array of route configurations.
  @param {Array} customFiles - Array of user-defined globs.
  @returns {Array} ignoredFiles