title: require() and exports are not recognized in Javascript
body: <p>I saw a lot of answers about this problem but still I cannot fix this.</p>
  
  <p>I have three modules:</p>
  
  <pre><code>controller.ts
  modules.ts
  view.ts
  </code></pre>
  
  <p>and a HTML file:</p>
  
  <pre><code>view.html
  </code></pre>
  
  <p>As you expect, I have to import some functions from controller module
  but browser-side cannot run import/export/require functions.</p>
  
  <p>I tried a lot, also I could not install webpack and use it. It says "you need webpack cli".</p>
  
  <p>I am open to any recommendation</p>