Skip to content

Inline all SVGs for the workbench when building #8516

@bpasero

Description

@bpasero

Note: one issue we have is that many SVG icons contain metadata or unused CSS classes.

  1. look into where SVG icons are duplicated in the CSS file and move them to one selector
  2. Go through all our CSS and remove duplicate references to the same svg file
  3. Go to gulpfile.common.js and add result['vs/css'] = { inlineResources: true }; at https://github.com/Microsoft/vscode/blob/master/build/gulpfile.common.js#L48

To fix #7839

Metadata

Metadata

Assignees

Labels

debtCode quality issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions