diff --git a/local-cli/bundle/buildBundle.js b/local-cli/bundle/buildBundle.js index 426365a26..482fce1e6 100644 --- a/local-cli/bundle/buildBundle.js +++ b/local-cli/bundle/buildBundle.js @@ -44,10 +44,6 @@ async function buildBundle( sourceMapUrl = path.basename(sourceMapUrl); } - config.transformerPath = args.transformer - ? path.resolve(args.transformer) - : config.transformerPath; - const requestOpts: RequestOptions = { entryFile: args.entryFile, sourceMapUrl, diff --git a/local-cli/dependencies/dependencies.js b/local-cli/dependencies/dependencies.js index e72293e64..c604c345d 100644 --- a/local-cli/dependencies/dependencies.js +++ b/local-cli/dependencies/dependencies.js @@ -25,9 +25,6 @@ async function dependencies(argv, configPromise, args, packagerInstance) { } config.cacheStores = []; - if (args.transformer) { - config.transformer.babelTransformerPath = path.resolve(args.transformer); - } const relativePath = path.relative( config.projectRoot,