Skip to content

webview-codicons broken when packaged #1162

@maxcamp

Description

@maxcamp

Extension sample

webview-codicons-sample

VS Code version

1.98.2

What went wrong?

The webview-codicons-sample works fine in the local "Run Extension" debugging mode. However, when the extension is packaged and installed using vsce package and code --install-extension, the crucial codicon.css file is not loaded with a 404 error. This causes none of the icons to be displayed.

This extension sample should still function when packaged/installed to serve as an example for how webviews can use vscode's native codicons.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions