mirror of https://github.com/status-im/metro.git
Add 'bundler' column to metro bundler logs
Reviewed By: davidaurelio Differential Revision: D5809350 fbshipit-source-id: 7e1b9dcda26f3c199ff1723e21c670659d9cf747
This commit is contained in:
parent
090df5c104
commit
449e943d91
|
@ -921,6 +921,7 @@ class Server {
|
||||||
action_name: 'Requesting bundle',
|
action_name: 'Requesting bundle',
|
||||||
bundle_url: req.url,
|
bundle_url: req.url,
|
||||||
entry_point: options.entryFile,
|
entry_point: options.entryFile,
|
||||||
|
bundler: 'delta',
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -966,6 +967,7 @@ class Server {
|
||||||
log({
|
log({
|
||||||
...createActionEndEntry(requestingBundleLogEntry),
|
...createActionEndEntry(requestingBundleLogEntry),
|
||||||
outdated_modules: numModifiedFiles,
|
outdated_modules: numModifiedFiles,
|
||||||
|
bundler: 'delta',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -980,6 +982,7 @@ class Server {
|
||||||
action_name: 'Requesting sourcemap',
|
action_name: 'Requesting sourcemap',
|
||||||
bundle_url: req.url,
|
bundle_url: req.url,
|
||||||
entry_point: options.entryFile,
|
entry_point: options.entryFile,
|
||||||
|
bundler: 'delta',
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1009,7 +1012,12 @@ class Server {
|
||||||
type: 'bundle_build_done',
|
type: 'bundle_build_done',
|
||||||
});
|
});
|
||||||
|
|
||||||
log(createActionEndEntry(requestingBundleLogEntry));
|
log(
|
||||||
|
createActionEndEntry({
|
||||||
|
...requestingBundleLogEntry,
|
||||||
|
bundler: 'delta',
|
||||||
|
}),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
_symbolicate(req: IncomingMessage, res: ServerResponse) {
|
_symbolicate(req: IncomingMessage, res: ServerResponse) {
|
||||||
|
|
Loading…
Reference in New Issue