title: Conditional import: import if exists
body: <p>Is there a way to check for the file existence before importing it?</p>
  
  <pre><code>(async () =&gt; {
      let module;
      try {
          module = await import("./mymodule.js");
      } catch (e) {
          console.log("not found")
      }
  
  })()
  </code></pre>