Skip to content

Commit

Permalink
[react-packager] Use latest babel-core in place of babel (40% perf im…
Browse files Browse the repository at this point in the history
…provement)
  • Loading branch information
Amjad Masad committed Jun 30, 2015
1 parent 9f22f67 commit 7d184ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packager/react-packager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
'use strict';

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

Expand Down
2 changes: 1 addition & 1 deletion packager/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 7d184ad

Please sign in to comment.