title: How to set 'src' to resource root in webpack?
body: <p>I have a react application, with custom webpack config (webpack-encore). </p>
  
  <p>How can I set 'src' folder as resource root.<br>
  Ex: </p>
  
  <p>I want to use </p>
  
  <pre><code>import 'components/someComponent.jsx' 
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>import '../../components/someComponent.jsx' 
  </code></pre>
  
  <p>Folder structure: </p>
  
  <ol>
  <li>-app</li>
  <li>--src</li>
  <li>---components</li>
  </ol>