mirror of https://github.com/status-im/metro.git
metro-buck: add e2e testing of command
Reviewed By: davidaurelio Differential Revision: D6533842 fbshipit-source-id: b641559eb3085bac57ab3a1cc80a3f2f86b7ec92
This commit is contained in:
parent
f66eb477ba
commit
f044f42030
|
@ -88,7 +88,7 @@ function transformModule(
|
|||
}
|
||||
|
||||
let hasteID = null;
|
||||
if (filename.indexOf(NODE_MODULES) === -1) {
|
||||
if (filename.indexOf(NODE_MODULES) === -1 && !polyfill) {
|
||||
hasteID = docblock.parse(docblock.extract(code)).providesModule;
|
||||
if (options.hasteImpl) {
|
||||
if (options.hasteImpl.enforceHasteNameMatches) {
|
||||
|
|
Loading…
Reference in New Issue