import { parser } from "./babel" ; import getBabelOptions , { Overrides } from "./_babel_options" ; export function parse ( source , options ? ) { const babelOptions = getBabelOptions ( options ) ; babelOptions . plugins . push ( "jsx" , "flow" ) ; return parser . parse ( source , babelOptions ) ; } ;