You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know when this was introduced, but the stock workbench.ts will pull config from a data attribute of an element with id vscode-workbench-web-configuration. So I do a synchronous fetch of product.json (though maybe better to name workbench.json) in the index.html before the VSCode sources are loaded. If I understand correctly, this achieves the same result of the patched workbench.ts you have without patching/replacing it.
I don't know when this was introduced, but the stock
workbench.ts
will pull config from a data attribute of an element with idvscode-workbench-web-configuration
. So I do a synchronous fetch ofproduct.json
(though maybe better to nameworkbench.json
) in theindex.html
before the VSCode sources are loaded. If I understand correctly, this achieves the same result of the patchedworkbench.ts
you have without patching/replacing it.https://github.com/progrium/vscode-web/blob/main/patched/index.html#L27-L40
The text was updated successfully, but these errors were encountered: