code-server/lib/vscode/src/vs/workbench/buildfile.desktop.js

33 lines
1.3 KiB
JavaScript
Raw Normal View History

/*---------------------------------------------------------------------------------------------
* 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.collectModules = function () {
return [
createModuleDescription('vs/workbench/contrib/output/common/outputLinkComputer', ['vs/base/common/worker/simpleWorker', 'vs/editor/common/services/editorSimpleWorker']),
createModuleDescription('vs/workbench/contrib/debug/node/telemetryApp', []),
createModuleDescription('vs/workbench/services/search/node/searchApp', []),
createModuleDescription('vs/platform/files/node/watcher/unix/watcherApp', []),
createModuleDescription('vs/platform/files/node/watcher/nsfw/watcherApp', []),
createModuleDescription('vs/workbench/services/extensions/node/extensionHostProcess', []),
];
};