browserify-ftw
browserify-ftw copied to clipboard
ES6 parsing error
Is it possible to get around this without having to convert everything back to ES5?
return {
myFunction() { }
..
..
}
ERR! get-wrapper index: 1697,
ERR! get-wrapper lineNumber: 42,
ERR! get-wrapper column: 9,
ERR! get-wrapper description: 'Unexpected token (' }
We'd need to update the parser that is used. I'll except PRs as long as all test still pass. Thanks.