Package the web worker extension host

This commit is contained in:
Alex Dima 2020-06-22 10:36:14 +02:00
parent a2668168b2
commit 5b363f0859
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,7 @@ const nodeModules = ['electron', 'original-fs']
const vscodeEntryPoints = _.flatten([
buildfile.entrypoint('vs/workbench/workbench.desktop.main'),
buildfile.base,
buildfile.workerExtensionHost,
buildfile.workbenchDesktop,
buildfile.code
]);
@ -72,6 +73,7 @@ const vscodeResources = [
'out-build/vs/workbench/contrib/externalTerminal/**/*.scpt',
'out-build/vs/workbench/contrib/webview/browser/pre/*.js',
'out-build/vs/workbench/contrib/webview/electron-browser/pre/*.js',
'out-build/vs/workbench/services/extensions/worker/extensionHostWorkerMain.js',
'out-build/vs/**/markdown.css',
'out-build/vs/workbench/contrib/tasks/**/*.json',
'out-build/vs/platform/files/**/*.exe',

View file

@ -88,7 +88,7 @@ export class ExtensionService extends AbstractExtensionService implements IExten
productService
);
this._enableLocalWebWorker = (ENABLE_LOCAL_WEB_WORKER && this._isDev);
this._enableLocalWebWorker = ENABLE_LOCAL_WEB_WORKER;
if (this._extensionEnablementService.allUserExtensionsDisabled) {
this._notificationService.prompt(Severity.Info, nls.localize('extensionsDisabled', "All installed extensions are temporarily disabled. Reload the window to return to the previous state."), [{