Reputation: 189
I have written a create-react app which has a dependency on Redux. I would like to package up my app in an NPM package so I can use it in another site that I am building which also uses redux.
I was wondering if it is possible to package up my app provided that it has a dependency on Redux?
Upvotes: 3
Views: 2444
Reputation: 1388
Sure you can! But there are some caveats in this approach:
If you want to make modular apps you could go another way:
This approach will be a lot lighter for the user :)
Upvotes: 6