File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
packages/react-native-bottom-tabs/src Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " react-native-bottom-tabs " : patch
3+ ---
4+
5+ fix(expo): use dynamic require for config-plugins ESM/CJS interop
Original file line number Diff line number Diff line change 1- import ConfigPlugins from '@expo/config-plugins' ;
21import { type ConfigPlugin } from '@expo/config-plugins' ;
2+ import { createRequire } from 'node:module' ;
33
4- const { createRunOncePlugin, withAndroidStyles } = ConfigPlugins ;
4+ const require = createRequire ( import . meta. url ) ;
5+
6+ const ConfigPlugins = require ( '@expo/config-plugins' ) ;
7+
8+ const { createRunOncePlugin, withAndroidStyles } =
9+ ConfigPlugins as typeof import ( '@expo/config-plugins' ) ;
510
611const MATERIAL3_THEME_DYANMIC =
712 'Theme.Material3.DynamicColors.DayNight.NoActionBar' ;
You can’t perform that action at this time.
0 commit comments