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