💄 build files
parent
1b66cd7fb7
commit
cb71a9f7f8
|
@ -5,13 +5,15 @@
|
|||
|
||||
exports.base = [{
|
||||
name: 'vs/base/common/worker/simpleWorker',
|
||||
include: [ 'vs/editor/common/services/editorSimpleWorker' ],
|
||||
prepend: [ 'vs/loader.js' ],
|
||||
append: [ 'vs/base/worker/workerMain' ],
|
||||
include: ['vs/editor/common/services/editorSimpleWorker'],
|
||||
prepend: ['vs/loader.js'],
|
||||
append: ['vs/base/worker/workerMain'],
|
||||
dest: 'vs/base/worker/workerMain.js'
|
||||
}];
|
||||
//@ts-ignore review
|
||||
|
||||
exports.workbench = require('./vs/workbench/buildfile').collectModules(['vs/workbench/workbench.main']);
|
||||
exports.workbenchNodeless = require('./vs/workbench/buildfile').collectModules(['vs/workbench/workbench.nodeless.main']);
|
||||
|
||||
exports.code = require('./vs/code/buildfile').collectModules();
|
||||
|
||||
exports.entrypoint = function (name) {
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
'use strict';
|
||||
|
||||
function createModuleDescription(name, exclude) {
|
||||
var result = {};
|
||||
var excludes = ['vs/css', 'vs/nls'];
|
||||
const result = {};
|
||||
|
||||
let excludes = ['vs/css', 'vs/nls'];
|
||||
result.name = name;
|
||||
if (Array.isArray(exclude) && exclude.length > 0) {
|
||||
excludes = excludes.concat(exclude);
|
||||
|
|
|
@ -5,18 +5,20 @@
|
|||
'use strict';
|
||||
|
||||
function createModuleDescription(name, exclude) {
|
||||
var result = {};
|
||||
var excludes = ['vs/css', 'vs/nls'];
|
||||
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 () {
|
||||
var modules = [
|
||||
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', []),
|
||||
|
@ -28,6 +30,4 @@ exports.collectModules = function () {
|
|||
|
||||
createModuleDescription('vs/workbench/services/extensions/node/extensionHostProcess', []),
|
||||
];
|
||||
|
||||
return modules;
|
||||
};
|
Loading…
Reference in New Issue