vscode-web icon indicating copy to clipboard operation
vscode-web copied to clipboard

workbench.ts patch now unnecessary

Open progrium opened this issue 6 months ago • 1 comments

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.

https://github.com/progrium/vscode-web/blob/main/patched/index.html#L27-L40

progrium avatar Aug 15 '24 08:08 progrium