From e2bea00c33c85e88935aadf7644c26087a0025d7 Mon Sep 17 00:00:00 2001 From: Miguel Jimenez Esun Date: Fri, 27 Apr 2018 06:08:15 -0700 Subject: [PATCH] Remove TransformCaching.js Reviewed By: jeanlauliac Differential Revision: D7707146 fbshipit-source-id: 47f4c47b22cf65cfee05f63ad7dd81a5faf9c504 --- local-cli/bundle/buildBundle.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/local-cli/bundle/buildBundle.js b/local-cli/bundle/buildBundle.js index c5d231480..66872a9c8 100644 --- a/local-cli/bundle/buildBundle.js +++ b/local-cli/bundle/buildBundle.js @@ -14,8 +14,6 @@ const log = require('../util/log').out('bundle'); const Server = require('metro/src/Server'); const {Terminal} = require('metro-core'); const TerminalReporter = require('metro/src/lib/TerminalReporter'); -/* $FlowFixMe(site=react_native_oss) */ -const TransformCaching = require('metro/src/lib/TransformCaching'); const {defaults} = require('metro'); /* $FlowFixMe(site=react_native_oss) */ @@ -102,7 +100,6 @@ async function buildBundle( resetCache: args.resetCache, resolveRequest: config.resolveRequest, sourceExts: sourceExts.concat(defaultSourceExts), - transformCache: TransformCaching.useTempDir(), transformModulePath: transformModulePath, watch: false, workerPath: config.getWorkerPath && config.getWorkerPath(),