title: UI5 requires files, which are already bundled into Component-preload.js
body: <p>I've built a <em>Component-preload.js</em> by <code>grunt-openui5@0.14.0</code> with <code>compatVersion: "1.44"</code> parameter since my SAPUI5 Core is 1.44.</p>
  
  <p>The script:</p>
  
  <pre class="lang-js prettyprint-override"><code>openui5_preload: {
  
      component: {
  
          options: {
  
              resources: {
  
                  cwd: "&lt;%= dir.webcontent %&gt;",
                  prefix: "&lt;%= dir.webapp %&gt;/&lt;%= dir.webcontent %&gt;",
                  src: [
                      "**/*.js",
                      "**/*.html",
                      "**/*.json",
                      "**/*.fragment.html",
                      "**/*.fragment.xml",
                      "**/*.fragment.json",
                      "**/*.view.html",
                      "**/*.view.xml",
                      "**/*.view.json",
                      "**/*.properties",
                      "manifest.json",
                      "!test/**"
                  ]
              },
              compatVersion: "1.44",
  
              dest: "&lt;%= dir.dist %&gt;"
          },
  
          components: "&lt;%= dir.webapp %&gt;/&lt;%= dir.webcontent %&gt;"
      }
  }
  </code></pre>
  
  <p>As the result, I have a file, which contains everything I mentioned in the script, I store it in <em>WebContent</em> folder, and update the paths according to the hierarchy, just like it is described in the SAPUI5 book.</p>
  
  <p>When I test it, I get a strange behaviour — a browser loads both <em>Component-preload.js</em> and all the files, which are mentioned in it. In other words, after generation of the preloader browser downloads it, but ignores its content and still requests the separate files, although they are already located in this preloader,</p>
  
  <p>I want the files, mentioned in the preloader, will not be requested as separate files by the browser. Otherwise, there is no reason to use preloader. How can I fix it?</p>
  
  <p>P.S. The issue is similar to <a href="https://github.com/SAP/grunt-openui5/issues/34" rel="nofollow noreferrer">Minified *.properties and *.css are still requested</a>.</p>