-
When attempting to use a custom configFile to build our module we are seeing the following error when the module is used:
When the module is built there is a Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This seems to be a bug. This file shouldn't be generated if Also, it's recommended to extend the default config ( While it wouldn't be necessary for your setup specifically since you don't have |
Beta Was this translation helpful? Give feedback.
This seems to be a bug. This file shouldn't be generated if
esm
is not enabled. I made a fix here and published a new version. Please upgrade and let me know if it fixes your issue.Also, it's recommended to extend the default config (
react-native-builder-bob/babel-preset
) when using a custom babel configuration (though not necessary in this case) https://callstack.github.io/react-native-builder-bob/build#configfileWhile it wouldn't be necessary for your setup specifically since you don't have
esm
enabled, it's still recommended to useresolve.fullySpecified: false
for projects that may use React Native…