-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt using platform specifier in path for web extensions #180525
Comments
@DonJayamanne Can you please share the extension that is not working for you when you published PSE for Web target? I have one with web target platform and it works for me - |
I would suggest to reconsider this given that we didn't really think about this. We now discovered one issue, there is very likely more in our code base, and assuming all extensions use the uri utils is very bold |
@sandy081 Same version here #180525 (comment) Version 2023.4.1011131224 from the marketplace |
For context, @jrieken says:
|
Two paths forward:
By now it's rather clear that the latter is the lowest hanging and lowest risk change. |
With this we would also need migration on the client side - to adopt existing installed extensions to use the new path. |
This is why I renamed and left this issue open. 😉 |
#180525 adopt to web platform specifier
VS Code for the Web is not loading some resources in the extension with web target platform
Eg:
https://ms-toolsai.vscode-unpkg.net/ms-toolsai/jupyter/2023.4.1011131224/extension/out/extension.web.bundle.js?target%3Dweb.
This seems to work fine with a simple extension
sandy081.999-pse
published with web target platform. I do not know why it is breaking for above extension path.When target platform
web
is introduced, we decided to go with the query parameter route considering that extensions will handle URIs correctly given thevscode.uri
util. It seems we need to make changes how extension paths are handled to fix this.CC @joaomoreno
The text was updated successfully, but these errors were encountered: