title: Import from node_modules not recognized in es6 modules in browser
body: <p>I'm trying to use lodash in my web application. I have installed lodash using npm in my local project. </p>
  
  <p>I plan on using the ES6 modules in my code.</p>
  
  <p>Here is my main.js file:</p>
  
  <pre><code>import * as _ from "lodash";
  
  _.each([1, 2, 3, 4], (i) =&gt; {
      console.log('index each ' + i);
  });
  </code></pre>
  
  <p>And I have included it in index.html as:</p>
  
  <pre><code>&lt;script src="js/main.js", type="module"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But I get the following error in the browser console.</p>
  
  <blockquote>
    <p>Uncaught TypeError: Failed to resolve module specifier "lodash".
    Relative references must start with either "/", "./", or "../".</p>
  </blockquote>
  
  <p><strong>Note:</strong> I do not wish to use any bundling tool. </p>