Fixes vite launch config env variables (#278753)

This commit is contained in:
Henning Dieterichs
2025-11-21 14:12:28 +01:00
committed by GitHub
parent 0d1433a1bb
commit 2b1a433829
2 changed files with 5 additions and 0 deletions

2
.vscode/launch.json vendored
View File

@@ -298,8 +298,10 @@
"VSCODE_EXTHOST_WILL_SEND_SOCKET": null,
"VSCODE_SKIP_PRELAUNCH": "1",
"VSCODE_DEV_DEBUG": "1",
"VSCODE_DEV_SERVER_URL": "http://localhost:5199/build/vite/workbench-vite-electron.html",
"DEV_WINDOW_SRC": "http://localhost:5199/build/vite/workbench-vite-electron.html",
"VSCODE_DEV_DEBUG_OBSERVABLES": "1",
"VSCODE_DEV": "1"
},
"cleanUp": "wholeBrowser",
"runtimeArgs": [

View File

@@ -126,6 +126,9 @@ logger.warn = (msg, options) => {
if (msg.indexOf('await import(new URL(`vs/workbench/workbench.desktop.main.js`, baseUrl).href)') !== -1) {
return;
}
if (msg.indexOf('const result2 = await import(workbenchUrl);') !== -1) {
return;
}
// See https://github.com/microsoft/vscode/issues/278153
if (msg.indexOf('marked.esm.js.map') !== -1 || msg.indexOf('purify.es.mjs.map') !== -1) {