From a04cad686f485939bf1a679f444f7d5f26d5871b Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Thu, 11 Jun 2026 17:35:49 +0100 Subject: [PATCH] fix: comment with the reference --- babel.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/babel.config.js b/babel.config.js index 939635f99..929579229 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,7 @@ module.exports = { + // Pin the @babel/runtime version so Metro resolves a single copy instead of + // bundling duplicate helpers, which bloats the bundle. + // See https://github.com/babel/babel/issues/18050 presets: [['module:@react-native/babel-preset', { enableBabelRuntime: '^7.26.0' }]], plugins: ['react-native-worklets/plugin'], };