Can RePack be used for setting up libraries? #311
Unanswered
dmahajan980
asked this question in
Q&A
Replies: 1 comment
-
I’m not well-versed in
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I would like to know if RePack can be used for bundling packages/libraries that can be consumed in other apps?
Problem with Builder Bob
React Native Builder Bob (and Metro) does not support subpath exports. Metro has released a new version with experimental support for this feature but it isn't clear on when thus gets rolled out as stable and when Builder Bob accepts it.
Webpack, on the other hand, does support this and so I suppose RePack as well could since it's built on top of Webpack.
Why it's needed?
In my package, I need this feature since we have multiple sub-modules in our package and would not like to expose them from the same entry point.
I am not sure if RePack can be used for bundling packages for consumption in other React Native apps. Any information on this would be highly appreciated.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions