From a022f7d04ad9a64eca508673b0002715a17918a2 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Fri, 30 Sep 2016 08:49:45 -0700 Subject: [PATCH] Rename Activity events for more clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- react-packager/src/Bundler/index.js | 3 ++- react-packager/src/node-haste/index.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/react-packager/src/Bundler/index.js b/react-packager/src/Bundler/index.js index f03d67b3..8bf16e6b 100644 --- a/react-packager/src/Bundler/index.js +++ b/react-packager/src/Bundler/index.js @@ -365,11 +365,12 @@ class Bundler { finalizeBundle = noop, }) { const findEventId = Activity.startEvent( - 'Finding dependencies', + 'Transforming modules', null, { telemetric: true, entryPoint: entryFile, + details: dev ? 'dev' : 'prod', }, ); const modulesByName = Object.create(null); diff --git a/react-packager/src/node-haste/index.js b/react-packager/src/node-haste/index.js index ad22787d..84f5290c 100644 --- a/react-packager/src/node-haste/index.js +++ b/react-packager/src/node-haste/index.js @@ -92,7 +92,7 @@ class DependencyGraph { const {activity} = this._opts; const depGraphActivity = activity.startEvent( - 'Building Dependency Graph', + 'Initializing Packager', null, { telemetric: true,