title: loading ES6 files locally
body: <p>I have an application, which uses ES6 modules, if I run it on server using Webstorm everything is okay, but without server it won`t work.<br>
  I got this messages for all files:   </p>
  
  <blockquote>
    <p>"Access to Script at 'file:///C:/Users/nameuser/Desktop/project/FileLoader.jsx' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed access."   </p>
  </blockquote>
  
  <p>How can I solve this problem without using server?     </p>
  
  <p>Earlier I saved all React components to the index.html, but it is really difficult to work with 3000 lines of code in one file. Employer doesn't want to use server at this moment.</p>
  
  <p>I tried to use this chrome command, but got no results   </p>
  
  <pre><code>google-chrome --allow-file-access-from-files
  </code></pre>