Remove babelRegisterOnly call in workers

Reviewed By: jeanlauliac

Differential Revision: D5208950

fbshipit-source-id: 093c1a67ed830480b42f556ee2d6be4ecfce9f0d
This commit is contained in:
Christoph Pojer 2017-06-09 07:08:57 -07:00 committed by Facebook Github Bot
parent c1ff8b5b81
commit 150aa19fcb
1 changed files with 0 additions and 2 deletions

View File

@ -12,7 +12,6 @@
'use strict';
const babelRegisterOnly = require('../../babelRegisterOnly');
const constantFolding = require('./constant-folding');
const extractDependencies = require('./extract-dependencies');
const inline = require('./inline');
@ -166,7 +165,6 @@ exports.transformAndExtractDependencies = (
options: Options,
callback: Callback<Data>,
) => {
babelRegisterOnly([transform]);
/* $FlowFixMe: impossible to type a dynamic require */
const transformModule: Transformer<*> = require(transform);
transformCode(