If that's the case, it's not technically "requiring/importing an image", it's just sugar supplying a bundler with paths for processing. Obviously you can't "import" an image file (or whatever) into a JS context, so IIRC in the context of e.g. webpack, it'll either handle absolute/relative/served paths or inline a string (possibly converted to some deserialized thing).