title: How to properly import custom commands within cypress typescript project?
body: <p>After the update of my core depenencies, @nrwl/<em>, @angular/</em> and cypress, my e2e tests are kind of broken. I receive the following error:</p>
  
  <p><code>import './command';
  ^
  ParseError: 'import' and 'export' may appear only with 'sourceType: module'</code>.</p>
  
  <p>Cypress displays this error in addition: <a href="https://i.stack.imgur.com/60xVi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/60xVi.png" alt="enter image description here"></a></p>
  
  <p>These are the updated dependencies:
  <a href="https://i.stack.imgur.com/A2inV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A2inV.png" alt="enter image description here"></a> </p>
  
  <p>Until the update, we just imported custom commands directly from the <code>command.ts</code>-file in the spec-files. But also by using the <code>support/index.ts</code> the same error appears, but then in index-file. </p>
  
  <p>The only thing, which worked (but can not be a solution actually), is to move the custom command into the index-file itself and remove the import statement(s).</p>
  
  <p>And since I am operating these tests within a NX-Workspace, I do not have direct access to any webpack or babel config or something similar.</p>
  
  <p>Any hint or idea, what I could try?</p>