Skip to content

Instantly share code, notes, and snippets.

@casesandberg
Created March 7, 2016 02:27
Show Gist options
  • Select an option

  • Save casesandberg/53c3284967ce07c494cd to your computer and use it in GitHub Desktop.

Select an option

Save casesandberg/53c3284967ce07c494cd to your computer and use it in GitHub Desktop.
How can I transform file output?
export default function() {
return {
visitor: {
Program(path, { file: { code }}) {
code = transform(code)
},
},
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment