Closed Arthraim closed 7 years ago
Since we were not able to add allowReserved option for acorn itself, I just added a way to config it from very outside. Now I'm using it like below:
allowReserved
node ./node_modules/jsxgettext/lib/cli.js -o OUTPUT_FILE --parser-options '{"allowReserved": true}' SOME_JS_FILE
Hope you'd like it.
THANKS
Since we were not able to add
allowReserved
option for acorn itself, I just added a way to config it from very outside. Now I'm using it like below:Hope you'd like it.