babel-plugin-parser-opts
Pass arbitrary Babylon parser options to Babel.
Babel internally uses Babylon to parse JavaScript. However, it does not expose all of Babylon's options to be changed by users. This plugin makes it possible to change all of these options.
Installation
$ npm install babel-plugin-parser-opts
Usage
.babelrc
Via .babelrc
Via Node API
;
Parser plugins
All provided options will overwrite existing options, with one exception:
plugins
. If provided, plugins
array will be merged with existing.