text: /*---------------------------------------------------------------------------------------------
   *  Copyright (c) Microsoft Corporation. All rights reserved.
   *  Licensed under the MIT License. See License.txt in the project root for license information.
   *--------------------------------------------------------------------------------------------*/
  'use strict';
  
  function createModuleDescription(name, exclude) {
  	const result = {};
  
  	let excludes = ['vs/css', 'vs/nls'];
  	result.name = name;
  	if (Array.isArray(exclude) && exclude.length > 0) {
  		excludes = excludes.concat(exclude);
  	}
  	result.exclude = excludes;
  
  	return result;
  }
  
  exports.createModuleDescription = createModuleDescription;
  
  exports.collectModules = function () {
  	return [
  		createModuleDescription('vs/code/electron-main/main', []),
  		createModuleDescription('vs/code/node/cli', []),
  		createModuleDescription('vs/code/node/cliProcessMain', ['vs/code/node/cli']),
  		createModuleDescription('vs/code/electron-sandbox/issue/issueReporterMain', []),
  		createModuleDescription('vs/code/electron-browser/sharedProcess/sharedProcessMain', []),
  		createModuleDescription('vs/platform/driver/node/driver', []),
  		createModuleDescription('vs/code/electron-sandbox/processExplorer/processExplorerMain', [])
  	];
  };
  