mirror of https://github.com/status-im/metro.git
Rename Activity events for more clarity
Summary: Changed “Finding dependencies” and “Building Module Graph” to “Transforming modules” and “Initializing Packager” for more clarity Reviewed By: matryoshcow Differential Revision: D3950811 fbshipit-source-id: 7a2e655ef7e1655244ce427e7adc8c1e5afa7329
This commit is contained in:
parent
351d9da0e8
commit
a022f7d04a
|
@ -365,11 +365,12 @@ class Bundler {
|
||||||
finalizeBundle = noop,
|
finalizeBundle = noop,
|
||||||
}) {
|
}) {
|
||||||
const findEventId = Activity.startEvent(
|
const findEventId = Activity.startEvent(
|
||||||
'Finding dependencies',
|
'Transforming modules',
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
telemetric: true,
|
telemetric: true,
|
||||||
entryPoint: entryFile,
|
entryPoint: entryFile,
|
||||||
|
details: dev ? 'dev' : 'prod',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const modulesByName = Object.create(null);
|
const modulesByName = Object.create(null);
|
||||||
|
|
|
@ -92,7 +92,7 @@ class DependencyGraph {
|
||||||
|
|
||||||
const {activity} = this._opts;
|
const {activity} = this._opts;
|
||||||
const depGraphActivity = activity.startEvent(
|
const depGraphActivity = activity.startEvent(
|
||||||
'Building Dependency Graph',
|
'Initializing Packager',
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
telemetric: true,
|
telemetric: true,
|
||||||
|
|
Loading…
Reference in New Issue