Next.js Image Component Not Rendering SVGs Correctly on IE11
I've looked through the documentation and I'm still confused about I'm wondering if anyone has experience with I'm experimenting with I'm stuck on something that should probably be simple..... I've been banging my head against this for hours. I tried several approaches but none seem to work. I'm trying to use the Next.js Image component to render SVG images for better performance and responsiveness across browsers. However, I'm working with a weird scenario where the SVGs do not display correctly in Internet Explorer 11. They appear as blank squares instead of the actual images. I've confirmed that the SVG files are valid and display fine in modern browsers like Chrome and Firefox. Here's the code snippet I'm using: ```jsx import Image from 'next/image'; const MyComponent = () => { return ( <div> <Image src='/images/icon.svg' alt='Icon' width={100} height={100} /> </div> ); }; ``` I've also tried setting the `priority` and `loading` attributes to see if that would help, but it didn't seem to make a difference. Additionally, I made sure that my Next.js version is 12.0.7, and I've tested the SVG in the latest version of Chrome, where it works perfectly. I've looked into polyfills for SVG support in IE11, but I'm unsure if that's the right direction to take here. Has anyone else faced this scenario, and if so, how did you resolve it? Are there specific configurations or practices for rendering SVGs with the Next.js Image component that I should be aware of? Any help would be appreciated! My development environment is Linux. Any ideas what could be causing this? This is part of a larger application I'm building. Is there a better approach? I recently upgraded to Javascript 3.11. This is part of a larger CLI tool I'm building. Could this be a known issue? Any ideas how to fix this? I'm on Windows 11 using the latest version of Javascript.