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
7bc25f5ece
commit
b6f494c313
|
@ -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