title: requirejs loads incorrect filename and filepath
body: <p>I have a huge problem. Why is requirejs set his own filenames??</p>
  
  <p>here my example. in the header, I set up requirejs like this</p>
  
  <pre><code>&lt;script data-main="src/dist/scripts/config.min" src=src/dist/scripts/vendor/require.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And the unminified config file looks like this</p>
  
  <pre><code>require.config({
    paths: {
      bootstrap: 'vendor/bootstrap.min',
      jquery: 'vendor/jquery.min',
      focuspoint: 'vendor/jquery.focuspoint.min',
      microplugin: 'vendor/microplugin.min',
      selectite: 'vendor/selectize.min',
      sifter: 'vendor/sifter.min',
      swiper: 'vendor/swiper.min',
      tether: 'vendor/tether.min'
    }
  });
  </code></pre>
  
  <p>this is like it looks in my file structure</p>
  
  <p><a href="https://i.stack.imgur.com/gDaYj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gDaYj.png" alt="enter image description here"></a>:</p>
  
  <p>Now the problem I get. Requirejs want to load different filenames from different folder and not from for example src/scripts/dist/<strong>vendor/</strong> folder. Here a screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/76GYt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/76GYt.png" alt="enter image description here"></a></p>
  
  <p>This is an example of a js file, where i load for example jquery:</p>
  
  <pre><code>require(['jquery'], function($) {
    //some code ...
  });
  </code></pre>
  
  <p>What is wrong? I don't get it...</p>