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 b3d9bf6 commit 70dde86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 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 70dde86

Please sign in to comment.