title: Is there a way to set the root path for ES6 imports?
body: <p>I have a website whose .js files handle imports by doing <code>import {Foobar} from /path/to/foobar.js</code>, where the import path starts with a slash.</p>
  <p>I want to run this same JS on the server using node.js. Of course, the imports fail because the root path for the website does not correspond to the root directory for the server.</p>
  <p>Do I have to change all the import statements? Or is there some setting (perhaps in package.json) where I can tell the module loader that <code>/</code> corresponds to a particular directory?</p>