let acorn ; let escodegen ; let estraverse ; const plugins = { } ; try { acorn = require ( 'acorn-jsx' ) ; escodegen = require ( 'escodegen-wallaby' ) ; estraverse = require ( 'estraverse-fb' ) ; plugins . jsx = true ; } catch ( { message } ) { if ( process . env . EF_TSPM_SHOW_JSX_LOADING_WARNING ) { process . stderr . write ( `${ message }\n` ) ; } acorn = require ( 'acorn' ) ; escodegen = require ( 'escodegen' ) ; estraverse = require ( 'estraverse' ) ; } export type Comment = acorn . Comment ; export type Token = acorn . Token ; export const parse = acorn . parse ; export const generate = escodegen . generate ; export const attachComments = estraverse . attachComments ; export const traverse = estraverse . traverse ; export { plugins } ;