mirror of https://github.com/status-im/metro.git
packager: JSTransform cleanup: remove opts.methods
Summary: It's not used from any callsite as far as I can see. Reviewed By: davidaurelio Differential Revision: D4481708 fbshipit-source-id: 2c503fb7ef20f9370a950c315832f3ace4709739
This commit is contained in:
parent
485dcb1e79
commit
16fd44b3c0
|
@ -39,15 +39,10 @@ const validateOpts = declareOpts({
|
|||
type:'string',
|
||||
required: false,
|
||||
},
|
||||
methods: {
|
||||
type: 'array',
|
||||
default: [],
|
||||
},
|
||||
});
|
||||
|
||||
type Options = {
|
||||
transformModulePath?: ?string,
|
||||
methods?: ?Array<string>,
|
||||
};
|
||||
|
||||
const maxConcurrentWorkers = ((cores, override) => {
|
||||
|
@ -86,7 +81,6 @@ class Transformer {
|
|||
|
||||
_opts: {
|
||||
transformModulePath?: ?string,
|
||||
methods: Array<string>,
|
||||
};
|
||||
_workers: {[name: string]: mixed};
|
||||
_transformModulePath: ?string;
|
||||
|
|
Loading…
Reference in New Issue