diff --git a/packager/react-packager/index.js b/packager/react-packager/index.js index d4ea0dd39..c47d762a1 100644 --- a/packager/react-packager/index.js +++ b/packager/react-packager/index.js @@ -8,7 +8,7 @@ */ 'use strict'; -require('babel/register')({ +require('babel-core/register')({ only: /react-packager\/src/ }); diff --git a/packager/transformer.js b/packager/transformer.js index a2efcea3b..c5b235da8 100644 --- a/packager/transformer.js +++ b/packager/transformer.js @@ -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, {