react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Allow polyfilling & bundling

Open tex0l opened this issue 3 years ago • 0 comments

Describe the feature

I'd like to have a way to add polyfills to my library. What I have in mind is a pre / post build stage where I could use webpack.

Motivation

For example, I'm working on a library which relies on Buffer and stream, and more generally, some dependencies of that library depend on those packages.

I'd like to export a built bundle a developer can import without asking questions (as well as the bare files where he'd need to do the polyfilling themself in the metro config).

tex0l avatar Jan 27 '22 14:01 tex0l