diff --git a/babel.config.js b/babel.config.js index b10d59fa8934..dad806c0e416 100644 --- a/babel.config.js +++ b/babel.config.js @@ -41,7 +41,7 @@ const metro = { * By default is disabled in production as it adds small overhead * When CAPTURE_METRICS is set we're explicitly saying that we want to capture metrics * To enable the for release builds we add these aliases */ -if (process.env.CAPTURE_METRICS) { +if (process.env.CAPTURE_METRICS === 'true') { const path = require('path'); const profilingRenderer = path.resolve( __dirname, diff --git a/config/webpack/webpack.common.js b/config/webpack/webpack.common.js index 8f608f694bc7..97f9eb948262 100644 --- a/config/webpack/webpack.common.js +++ b/config/webpack/webpack.common.js @@ -20,6 +20,7 @@ const includeModules = [ 'react-native-modal', 'react-native-onyx', 'react-native-gesture-handler', + 'react-native-flipper', ].join('|'); const webpackConfig = {