Closed boopathi closed 7 years ago
// works class A {} // also works class A { foo() {} } // also works (function() { class A {} })() // throws an error - this.scope is undefined (function () { class A { foo() {} } })();
/Users/brajaa/workspace/butternut/dist/butternut.cjs.js:3015 this.scope.mangle( code ); ^ TypeError: Cannot read property 'mangle' of undefined
I stumbled upon this a moment ago as well — it's already fixed by https://github.com/Rich-Harris/butternut/pull/25 so I'll close this. Thanks