daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let contents = fs.readFileSync("example.js","utf-8");
  2. let ast = babylon.parse(contents);
  3.      
  4. export const getFoo(){
  5.   return "a"
  6. }
  7.      
  8. import {getFoo} from './main'
  9. let bar = getFoo() + "baz";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top