Clean DependencyGraph.js

Reviewed By: cpojer

Differential Revision: D7628731

fbshipit-source-id: 653d0ebc7b506fb19df15874aad7877c981f1979
This commit is contained in:
Miguel Jimenez Esun 2018-04-19 18:28:31 -07:00 committed by Facebook Github Bot
parent b88d8d1f99
commit 585a0def32
2 changed files with 0 additions and 11 deletions

View File

@ -145,8 +145,6 @@ class Bundler {
experimentalCaches: true,
extraNodeModules: opts.extraNodeModules,
getPolyfills: opts.getPolyfills,
getTransformCacheKey,
globalTransformCache: opts.globalTransformCache,
hasteImplModulePath: opts.hasteImplModulePath,
maxWorkers: opts.maxWorkers,
platforms: new Set(opts.platforms),
@ -159,7 +157,6 @@ class Bundler {
resetCache: opts.resetCache,
sourceExts: opts.sourceExts,
transformCode: this._cachedTransformCode.bind(this),
transformCache: opts.transformCache,
watch: opts.watch,
});

View File

@ -30,11 +30,6 @@ const {
} = require('metro-core');
import type {Options as JSTransformerOptions} from '../JSTransformer/worker';
import type {GlobalTransformCache} from '../lib/GlobalTransformCache';
import type {
GetTransformCacheKey,
TransformCache,
} from '../lib/TransformCaching';
import type {Reporter} from '../lib/reporting';
import type {ModuleMap} from './DependencyGraph/ModuleResolution';
import type {TransformCode} from './Module';
@ -49,8 +44,6 @@ type Options = {|
+experimentalCaches: boolean,
+extraNodeModules: ?{},
+getPolyfills: ({platform: ?string}) => $ReadOnlyArray<string>,
+getTransformCacheKey: GetTransformCacheKey,
+globalTransformCache: ?GlobalTransformCache,
+hasteImplModulePath?: string,
+maxWorkers: number,
+platforms: Set<string>,
@ -61,7 +54,6 @@ type Options = {|
+resetCache: boolean,
+resolveRequest: ?CustomResolver,
+sourceExts: Array<string>,
+transformCache: TransformCache,
+transformCode: TransformCode,
+watch: boolean,
|};