mirror of https://github.com/status-im/metro.git
Make `postMinifyProcess` non-optional
Reviewed By: cpojer Differential Revision: D5052315 fbshipit-source-id: 4c3573fc6e97b4f561f371179ea2dd6f89fac05a
This commit is contained in:
parent
a948fdb31b
commit
1c2ef1833f
|
@ -127,7 +127,7 @@ type Options = {|
|
|||
+platforms: Array<string>,
|
||||
+polyfillModuleNames: Array<string>,
|
||||
+postProcessModules?: PostProcessModules,
|
||||
+postMinifyProcess?: PostMinifyProcess,
|
||||
+postMinifyProcess: PostMinifyProcess,
|
||||
+projectRoots: Array<string>,
|
||||
+providesModuleNodeModules?: Array<string>,
|
||||
+reporter: Reporter,
|
||||
|
|
|
@ -39,7 +39,7 @@ type Options = {|
|
|||
+hasteImpl?: HasteImpl,
|
||||
+maxWorkerCount: number,
|
||||
+minifyCode: MinifyCode,
|
||||
+postMinifyProcess?: PostMinifyProcess,
|
||||
+postMinifyProcess: PostMinifyProcess,
|
||||
+platforms: Set<string>,
|
||||
+polyfillModuleNames?: Array<string>,
|
||||
+projectRoots: Array<string>,
|
||||
|
@ -55,7 +55,7 @@ class Resolver {
|
|||
|
||||
_depGraph: DependencyGraph;
|
||||
_minifyCode: MinifyCode;
|
||||
_postMinifyProcess: ?PostMinifyProcess;
|
||||
_postMinifyProcess: PostMinifyProcess;
|
||||
_polyfillModuleNames: Array<string>;
|
||||
|
||||
constructor(opts: Options, depGraph: DependencyGraph) {
|
||||
|
|
|
@ -68,7 +68,7 @@ type Options = {
|
|||
platforms?: Array<string>,
|
||||
polyfillModuleNames?: Array<string>,
|
||||
postProcessModules?: PostProcessModules,
|
||||
postMinifyProcess?: PostMinifyProcess,
|
||||
postMinifyProcess: PostMinifyProcess,
|
||||
projectRoots: Array<string>,
|
||||
providesModuleNodeModules?: Array<string>,
|
||||
reporter: Reporter,
|
||||
|
@ -124,7 +124,7 @@ class Server {
|
|||
platforms: Array<string>,
|
||||
polyfillModuleNames: Array<string>,
|
||||
postProcessModules?: PostProcessModules,
|
||||
postMinifyProcess?: PostMinifyProcess,
|
||||
postMinifyProcess: PostMinifyProcess,
|
||||
projectRoots: Array<string>,
|
||||
providesModuleNodeModules?: Array<string>,
|
||||
reporter: Reporter,
|
||||
|
|
Loading…
Reference in New Issue