add `extensionHostWorker` entry point, fixes https://github.com/microsoft/vscode-internalbacklog/issues/738
parent
16051c7a41
commit
a42484093f
|
@ -53,6 +53,7 @@ const buildfile = require('../src/buildfile');
|
|||
const vscodeWebEntryPoints = [
|
||||
buildfile.workbenchWeb,
|
||||
buildfile.serviceWorker,
|
||||
buildfile.workerExtensionHost,
|
||||
buildfile.keyboardMaps,
|
||||
buildfile.base
|
||||
];
|
||||
|
@ -148,4 +149,4 @@ const dashed = (str) => (str ? `-${str}` : ``);
|
|||
vscodeWebTaskCI
|
||||
));
|
||||
gulp.task(vscodeWebTask);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
function entrypoint (name) {
|
||||
function entrypoint(name) {
|
||||
return [{ name: name, include: [], exclude: ['vs/css', 'vs/nls'] }];
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,14 @@ exports.serviceWorker = [{
|
|||
dest: 'vs/workbench/contrib/resources/browser/resourceServiceWorkerMain.js'
|
||||
}];
|
||||
|
||||
exports.workerExtensionHost = [{
|
||||
name: 'vs/workbench/services/extensions/worker/extensionHostWorker',
|
||||
// include: [],
|
||||
prepend: ['vs/loader.js'],
|
||||
append: ['vs/workbench/services/extensions/worker/extensionHostWorkerMain'],
|
||||
dest: 'vs/workbench/services/extensions/worker/extensionHostWorkerMain.js'
|
||||
}];
|
||||
|
||||
exports.workbench = require('./vs/workbench/buildfile').collectModules(['vs/workbench/workbench.desktop.main']);
|
||||
exports.workbenchWeb = entrypoint('vs/workbench/workbench.web.api');
|
||||
|
||||
|
|
Loading…
Reference in New Issue