devongovett / browserify-optional

A browserify transform that allows optional dependencies in try..catch blocks
9 stars 1 forks source link

ES2015/ES6 support #4

Open dy opened 6 years ago

dy commented 6 years ago

Due to old esprima dependency in ast-transform browserify-optional is unable to process ES6 tokens, like arrow functions etc.

@devongovett will PR be welcomed?

dy commented 6 years ago

https://github.com/hughsk/ast-transform/pull/1 should solve that, but chances that will be merged any soon are little.