diff --git a/local-cli/bundle/buildBundle.js b/local-cli/bundle/buildBundle.js index 36081a605..10d1ecc6b 100644 --- a/local-cli/bundle/buildBundle.js +++ b/local-cli/bundle/buildBundle.js @@ -82,6 +82,7 @@ async function buildBundle( assetExts: defaultAssetExts.concat(assetExts), assetRegistryPath: ASSET_REGISTRY_PATH, blacklistRE: config.getBlacklistRE(), + cacheStores: config.cacheStores, cacheVersion: config.cacheVersion, dynamicDepsInPackages: config.dynamicDepsInPackages, enableBabelRCLookup: config.getEnableBabelRCLookup(), diff --git a/local-cli/server/runServer.js b/local-cli/server/runServer.js index 8054190e1..371f43a39 100644 --- a/local-cli/server/runServer.js +++ b/local-cli/server/runServer.js @@ -168,6 +168,7 @@ function getPackagerServer(args, config, reporter) { assetExts: defaultAssetExts.concat(args.assetExts), assetRegistryPath: ASSET_REGISTRY_PATH, blacklistRE: config.getBlacklistRE(), + cacheStores: config.cacheStores, cacheVersion: '3', enableBabelRCLookup: config.getEnableBabelRCLookup(), extraNodeModules: config.extraNodeModules,