#!/usr/bin/env node
"use strict";

var visitors = require('../vendor/fbtransform/visitors').transformVisitors;
var transform = require('jstransform').transform;

require("commoner").resolve(function(id) {
  return this.readModuleP(id);
}).process(function(id, source) {
  // This is where JSX, ES6, etc. desugaring happens.
  return transform(visitors.react, source).code;
});
