Type Error - Is Not a Constructor
<p>Wanted to instantiate a module within ES6 javascript and transpile to ES5. I am setting up a new class in my project which is es6 / webpack.
I have 2 files: 
track.js which has the following -- </p>

<pre><code>export default class Track {
  constructor() {
    this.o = {};
  }
}
</code></pre>

<p>The other is index.js -- </p>

<pre><code>import { Track } from './track';

const track = new Track();
console.log(track);
</code></pre>

<p>I am trying to have console log show an empty object.
Instead, I am getting --
<em>Uncaught TypeError: _track.Track is not a constructor</em></p>