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 |
---|---|
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #390786 (closed)