Revert D7729796: Enforce by default a local FileStore cache

Differential Revision:
D7729796

Original commit changeset: 03100516973f

fbshipit-source-id: c9cc5210ac8559ff4878e27d5a5e3133408637c8
This commit is contained in:
Miguel Jimenez Esun 2018-04-24 06:19:40 -07:00 committed by Facebook Github Bot
parent 76be88b515
commit 6708136b76
1 changed files with 1 additions and 7 deletions

View File

@ -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',