When an imported css file refers to an image in a node_module folder

Is this Sage 9 or 10? Are you using the Sage 9 update branch?

You are importing a binary/image file. Maybe a loader is needed for properly storing it as a JavaScript variable (base64; svg-text encoded; binary blob)?