mirror of https://github.com/status-im/metro.git
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:
parent
76be88b515
commit
6708136b76
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue