title: how to get path for import of javascript from file
body: <p>I have a file where i defined the absolute path of directory.</p>
  
  <pre><code>Ex : script=/absolutepath/scripts
  utility=/absolutepath/utility
  </code></pre>
  
  <p>I want to use "script"/"utility" instead of absolute path in other javascript files.How i can do this.</p>
  
  <p>What i want :</p>
  
  <pre><code>import random from "script/random.js"
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>import random from "/absolutepath/scripts/random.js"
  </code></pre>
  
  <p>PS :I am using k6 load generating framework which doesn't support node modules.</p>