mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
All of this is provided by the react package now, so there's no point in having it available in multiple places. We *may* go back on that in the future for shipping test utils, but for the time being, this is better for all.
11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
'use strict';
|
|
|
|
var visitors = require('./vendor/fbtransform/visitors').transformVisitors;
|
|
var transform = require('jstransform').transform;
|
|
|
|
module.exports = {
|
|
transform: function(code) {
|
|
return transform(visitors.react, code).code;
|
|
}
|
|
};
|