vscode-web
vscode-web copied to clipboard
workbench.ts patch now unnecessary
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