Override variables by using builder #474
-
Hi! I'm creating a new react-native library and I'm using react-native-builder-bob. In my library, I want to use information from package.json - for example, name and version to dynamically include information about the reporter in the output. I can do it via manual override in Babel, however, instead of overriding your Babel configuration I would prefer to extend it just by adding a plugin to replace specific strings in my app during the build process. Based on this: I believe it's not possible to do such a thing, right? Do you have any other recommendations on how can I set a variable during the build stage? Do you have a recommendation on how can I extend your babel configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Currently, it's not possible to extend the babel configuration. In future, we plan to export the config so consumers can extend it. |
Beta Was this translation helpful? Give feedback.
Currently, it's not possible to extend the babel configuration. In future, we plan to export the config so consumers can extend it.