I have a project where next/image provides little value, but would like to bundle some SVG files. By default imports yield something with any type, and the helpful message "Use any to avoid conflicts with @svgr/webpack plugin or babel-plugin-inline-react-svg plugin." This is not expected or desired behavior. In fact I would rather use one of the the plugins being avoided! The returned object does have a property with a packed url for the image, but it feels really unstable/hacky to use an undocumented property on an any object.
Does anyone have any experience modifying the webpack configruation? Are we even still using webpack?