I made some changes to vscode-extension so that it is now listed as a web extension, but it does not register commands that are enabled at activate(). Maybe the way I register those commands is obsolete.
https://code.visualstudio.com/api/extension-guides/web-extensions