browserify-ftw icon indicating copy to clipboard operation
browserify-ftw copied to clipboard

ES6 parsing error

Open alicoding opened this issue 8 years ago • 1 comments

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 (' }

alicoding avatar Jun 04 '17 01:06 alicoding

We'd need to update the parser that is used. I'll except PRs as long as all test still pass. Thanks.

thlorenz avatar Jun 04 '17 05:06 thlorenz