Skip to content
Permalink
Browse files

[react-packager] Use latest babel-core in place of babel (40% perf im…

…provement)
  • Loading branch information...
amasad committed Jun 30, 2015
1 parent 9f22f67 commit 7d184adf1aac8d7383639cf819162db98a2f593a
Showing with 2 additions and 2 deletions.
  1. +1 −1 packager/react-packager/index.js
  2. +1 −1 packager/transformer.js
@@ -8,7 +8,7 @@
*/
'use strict';

require('babel/register')({
require('babel-core/register')({
only: /react-packager\/src/
});

@@ -10,7 +10,7 @@
*/
'use strict';

var babel = require('babel');
var babel = require('babel-core');

function transform(srcTxt, filename, options) {
var result = babel.transform(srcTxt, {

0 comments on commit 7d184ad

Please sign in to comment.
You can’t perform that action at this time.