From 0007ef4b27aa91356e41db3c2a108d3bcb3ea551 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Mon, 8 Jun 2020 11:54:43 -0700 Subject: [PATCH] Disable sourcemaps for emotion to fix chrome Profiler freeze Summary: When trying to profile the Electron app, since recently the profiler hangs when trying to start the initializer. Found the following weird message in the console and googled the problem :-P {F239554230} Reviewed By: jknoxville Differential Revision: D21929677 fbshipit-source-id: 7a9f150ebc8df30fa2890c9dbb79c8c144a5feae --- .../ExportDataPluginSheet.node.tsx.snap | 48 +++++++++---------- .../ShareSheetPendingDialog.node.tsx.snap | 16 +++---- desktop/babel-transformer/src/transform.ts | 7 ++- 3 files changed, 37 insertions(+), 34 deletions(-) diff --git a/desktop/app/src/chrome/__tests__/__snapshots__/ExportDataPluginSheet.node.tsx.snap b/desktop/app/src/chrome/__tests__/__snapshots__/ExportDataPluginSheet.node.tsx.snap index eb7b9dfe9..05d9a1c1b 100644 --- a/desktop/app/src/chrome/__tests__/__snapshots__/ExportDataPluginSheet.node.tsx.snap +++ b/desktop/app/src/chrome/__tests__/__snapshots__/ExportDataPluginSheet.node.tsx.snap @@ -2,13 +2,13 @@ exports[`SettingsSheet snapshot with nothing enabled 1`] = `