mirror of https://github.com/status-im/metro.git
Removed verification of matching @providesModule and filenames
Reviewed By: jeanlauliac Differential Revision: D7758146 fbshipit-source-id: f74e5bd879d1ca562380cd942266e22e88ac7432
This commit is contained in:
parent
eb21f2df5b
commit
fc9bd150e3
|
@ -105,7 +105,7 @@ function transformModule(
|
|||
null,
|
||||
options.hasteImplModulePath,
|
||||
): HasteImpl);
|
||||
hasteID = HasteImpl.getHasteName(filename, sourceCode);
|
||||
hasteID = HasteImpl.getHasteName(filename);
|
||||
} else {
|
||||
hasteID = docblock.parse(docblock.extract(sourceCode)).providesModule;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue