babel compile es6 class, function not defined
<p>Babel is compiling my es6 class so the constructor is a function by itself and the method in the class becomes the class declaration. </p>

<p>This is causing any function calls in the constructors to be undefined.</p>

<p>Before:</p>

<pre><code>class myClass {
    constructor() {
        myMethod();
    } // END constructor

    myMethod() {
        console.log("myMethod");
    } 
} // END myClass
</code></pre>

<p>After:</p>

<pre><code>var myClass = function () {
    function myClass() {
        _classCallCheck(this, myClass);
        myMethod(); // undefined function
    } // END constructor

    _createClass(myClass, [{
        key: 'myMethod',
        value: function myMethod() { 
            console.log("myMethod");
        } // END myMethod()
    }]);

    return myClass;
}(); // END myClass

exports.default = myClass;
</code></pre>

<p>Appreciate any help in this</p>