Skip to content

Force SVG imports to have "?raw" or "?url"

What does this MR do and why?

Reintroduces !112836 (merged) with a small change to Webpack's config to prevent some SVGs from going through the raw-loader twice, which led to reverting the changes in !113989 (merged).

Screenshots or screen recordings

Without 56729016 With 56729016
Screenshot_2023-03-08_at_5.36.30_PM Screenshot_2023-03-08_at_5.35.48_PM

How to set up and validate locally

Please refer to original MR for more information: !112836 (merged).

The screenshots above were taken in the New project page with the super sidebar enabled as that's a setup that showcases several SVGs at once.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #390786 (closed)

Merge request reports

Loading