I'm importing images into a component, and due to the our file structure a complex relative path is required:
// TODO is there a better way of importing images? image helper?
import browserImg from './../../../assets/images/screenshot-browser.png';
import phoneImg from './../../../assets/images/screenshot-phone.png';
Is there a better way of doing this? Something like the image helper/asset-pipeline in ruby?