title: Can't import pictures in Reactjs using require()
body: <p>Here's the thing, when i opened my react project all the images stopped appearing, this happened all of a sudden as it was working a couple of hours ago. This seems to be an issue with the way they're being imported, the method i've always used is <code>src={require(./Picture)}</code>, i have also tried with <code>const logo = require('logo')  src={logo}</code> and <code>import logo from './logo.png'</code> with the only one working is the last mentioned.</p>
  <p>While debbuging that, every google aimed that the problem was with a dependecy called webpack, which i tried to remove and reinstall it, also installing an older version, but nothing worked.</p>
  <p>Any idea of what could have caused it?</p>