In webpack I could do following
import imageSrc from 'some-node-module/img.png'
const <img src={imageSrc} alt="">
I would like to be able to do the same in rollup. I tried https://www.npmjs.com/package/rollup-plugin-img
I can get the image bu encoded. Fo my use case I need the actual url so the I can request it.
I found @rollup/plugin-image to work.
It does, however, provide the images as
<img src="data:image/png;...." />
nodes. To my use, that is perfect.Why do you want the actual URL?