Get back 100% in sync with fb codebase

This commit is contained in:
facebook-github-bot-6
2015-09-16 10:30:53 -07:00
parent 0044b3c2c3
commit 0d09f22dbf
18 changed files with 39 additions and 277 deletions

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict';
var transformer = require('../packager/transformer.js');
module.exports = {
process(src, file) {
return transformer.transform(src, file).code;
}
};