title: window.myClass is not a constructor
body: <p>I have an ES6 class file that looks like so:</p>
  <pre><code>import { BaseClass } from './xm/classes/class-file.js';
  
  export class myClass extends BaseClass {
     constructor() {
        super();
     }
  
     createFormSession(formId, payload) {
       return new NewForm(formId, payload);
     }
  }
  
  class NewForm {
    constructor(formId, payload) {
      this.formId = formId;
      this.payload = payload;
    }
  }
  </code></pre>
  <p>I am getting this error on that says expecting myClass is not a constructor.</p>
  <p>So it seems like it's expecting BaseClass but it can't find it and I am unclear as to why, when it was working in my local development server.</p>
  <p>The actual line of code that causes the error is where the first <code>constructor()</code> function is referenced and the error is appearing in console of Chrome browser.</p>
  <p>The way it's being called:</p>
  <pre><code>var defaultUIHandler = new window.myClass()
  </code></pre>
  <p>I have also tried:</p>
  <pre><code>var defaultUIHandler = new window.myClass()
  </code></pre>