-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Thoughts on "create-react-lib" #1294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had a decent amount of success with https://github.com/insin/nwb. It is very heavy dependency wise but otherwise it works well and produces all kinds of outputs you could wish for, es6, es5, and umd. |
I'm not sure if @gaearon is aware of this thread, but I think it is somehow correlated to #1107 and also quite important to understand the purpose of I've been creating projects that have the same design language and to avoid technically repeating myself, I came to the most concise solution React brought: modularity. For this reason, I started to build a UI kit. At the very beginning, I got stuck. The reason is simple: my projects, powered by create-react-app, aren't ready to deal with local packages. I tried some solutions (the one I came up is described here), but none of them were good enough to make me fully productive. For that reason, and seeing the module @tbillington shared, I figured that I am nobody to say what CRA is or what it is not, but I'd say that your words are precisely correct:
But I'm here to manifest curiosity towards a |
@chiefGui If jest is the only thing holding you back, insin/nwb#173 😛 . |
Going to close since we don’t intend to support something like this in near future, but please feel free to use nwb for this, I heard it’s great! |
Ok @gaearon. Thanks for the feedback. Will look into nwb. |
See also discussion in #1492 and past discussions linked from it. |
Hi
I'm trying to use
create-react-app
to build a React library, but I'm facing some challenges. Maybecreate-react-app
is not the best-fit approach for this and "we" should create something likecreate-react-lib
project.Current challenges:
package.json/index
entryMaybe this is not suitable for this project. In that case, please point me to relevant projects that address this issues.
/Thanks
The text was updated successfully, but these errors were encountered: