Skip to content

Adopt using platform specifier in path for web extensions #180525

@sandy081

Description

@sandy081

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 the vscode.uri util. It seems we need to make changes how extension paths are handled to fix this.

CC @joaomoreno

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugextension-hostExtension host issuesverifiedVerification succeededwebIssues related to running VSCode in the web

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions