You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently building a component library with create-react-app, basically, I'm simply building my components with babel for them to be imported by another app, something like:
Please see #1415 (comment).
We're not ready to do this, (yet)! I'm really sorry, it has come up multiple times before so maybe you can help push #1249 along?
Is this a bug report?
No
Feature description
I'm currently building a component library with create-react-app, basically, I'm simply building my components with babel for them to be imported by another app, something like:
However, for this to work, I need to compile modules to
commonjs
so they don't have to be re-processed again by the parent app.Therefore, it would be great to have the ability to pass a
module
option like what's existing for other presets:Directly to the
react-app
preset:Therefore I could easily keep
create-react-app
babel's preset but actually build components exactly how I want them.Changes are trivial, will PR on demand.
Thanks!
The text was updated successfully, but these errors were encountered: