diff --git a/packages/metro/src/Config.js b/packages/metro/src/Config.js index b86ca877..38252add 100644 --- a/packages/metro/src/Config.js +++ b/packages/metro/src/Config.js @@ -10,11 +10,9 @@ 'use strict'; const blacklist = require('./blacklist'); -const os = require('os'); const path = require('path'); const {providesModuleNodeModules} = require('./defaults'); -const {FileStore} = require('metro-cache'); import type { GetTransformOptions, @@ -180,11 +178,7 @@ const DEFAULT = ({ enhanceMiddleware: middleware => middleware, extraNodeModules: {}, assetTransforms: false, - cacheStores: [ - new FileStore({ - root: path.join(os.tmpdir(), 'metro-cache'), - }), - ], + cacheStores: [], cacheVersion: '1.0', dynamicDepsInPackages: 'throwAtRuntime', getAsyncRequireModulePath: () => 'metro/src/lib/bundle-modules/asyncRequire',