mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server * properly pipe output * web - remove traces of web playground * web - remember last opened workspace for convinience * use vscode-test-web for server less, clean up web commands * fix comment * fix `yarn web` * rename to code-server * open system browser * code-server script: use minimist * test resolver: use ./scripts/code-server * integartion tests: fix code-server command name Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
This commit is contained in:
@@ -100,8 +100,7 @@ const createVSCodeWebFileContentMapper = (extensionsRoot) => {
|
||||
|
||||
// (2) Patch builtin extensions
|
||||
if (path.endsWith('vs/workbench/services/extensionManagement/browser/builtinExtensionsScannerService.js')) {
|
||||
// Do not inline `vscode-web-playground` even if it has been packed!
|
||||
const builtinExtensions = JSON.stringify(extensions.scanBuiltinExtensions(extensionsRoot, ['vscode-web-playground']));
|
||||
const builtinExtensions = JSON.stringify(extensions.scanBuiltinExtensions(extensionsRoot));
|
||||
return content.replace('/*BUILD->INSERT_BUILTIN_EXTENSIONS*/', builtinExtensions.substr(1, builtinExtensions.length - 2) /* without [ and ]*/);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user