title: Correct way of importing in javascript while using Flask
body: <p>I just started JavaScript. I wrote some code with javascript using the library: Three.js, now I wanted to do the Backend with Python. Therefore i started using Flask. 
  So I have my index.html in the templates directory, inside my index.html i call my script.js like this:</p>
  
  <pre><code>&lt;script type="module" src="/static/script.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In my script.js I import three.js in the beginning like this:</p>
  
  <pre><code>import "/three.js"
  </code></pre>
  
  <p>The Three.js file is in the same static folder. But somehow the import doesnt work when i use Flask.</p>