As the extension now provides a main entry point but not a browser one, it is not a valid web extension and therefore it cannot be installed on web-based instances of VS Code (e.g. on github.dev).
Adding an extra "browser": "./out/extension.js" line to package.json should work as I can't see anything in the location detection code that shouldn't work in the browser, but I haven't tried it. If that fails, it may be worth pointing browser to a skeleton entrypoint until a better solution is found.
As the extension now provides a
main
entry point but not abrowser
one, it is not a valid web extension and therefore it cannot be installed on web-based instances of VS Code (e.g. on github.dev).Adding an extra
"browser": "./out/extension.js"
line to package.json should work as I can't see anything in the location detection code that shouldn't work in the browser, but I haven't tried it. If that fails, it may be worth pointingbrowser
to a skeleton entrypoint until a better solution is found.