Open tfga opened 7 years ago
Upgrading esprima
to 3.1.1 did it for me.
Would be nice to also support JSX. Upgrading to esprima 3.1.1 doesn't do that—I imagine it will need some configuration change.
JSX support in Esprima parser is easy, just use its jsx
option. See http://esprima.readthedocs.io/en/3.1/syntactic-analysis.html#jsx-syntax-support for details.
amd-to-common
stops at this line:with this error:
If I change it to use the old function syntax
then it works ok.
amd-to-common
doesn't support ES6?