Skip to content
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

Browser bundle #76

Closed
vipulnsward opened this issue Aug 27, 2015 · 9 comments
Closed

Browser bundle #76

vipulnsward opened this issue Aug 27, 2015 · 9 comments

Comments

@vipulnsward
Copy link

Similar to https://cdnjs.com/libraries/redux , it would be great to have react-redux wrapped in a bundle.

@gnoff
Copy link
Contributor

gnoff commented Aug 27, 2015

that's up to cdnjs

this is how you request they add a lib apparently (just googled it myself)
https://goo.gl/EfDJx9

@gnoff gnoff closed this as completed Aug 27, 2015
@vipulnsward
Copy link
Author

@gnoff The issue was more around distributable browser bundle than cdnjs.
Is there a way currently to use it, that I am missing?

cc @gaearon

@gnoff
Copy link
Contributor

gnoff commented Aug 27, 2015

yup,

npm install react-redux
check node_modules/react-redux/dist/react-redux.js and react-redux.min.js

@gaearon
Copy link
Contributor

gaearon commented Aug 27, 2015

Let's reopen until we put react-redux on cdnjs ourselves.
Then we can point people to it.

@gaearon gaearon reopened this Aug 27, 2015
@Markus-ipse
Copy link

Markus-ipse commented Sep 29, 2015

I'm working on a project where Bower and RequireJS is used, and since I couldn't find a minified version (or even an ES5-transpiled one) I forked this repo and removed the dist folder from .gitignore after building the bundles and created an new tag that is v3.0.1.1 which includes the dist folder.

Fork can be found at https://github.com/Markus-ipse/react-redux

It can be installed via Bower with:
bower install react-redux=https://github.com/Markus-ipse/react-redux.git#v3.0.1.1 --save

It's not a long term solution but until a better alternative is available for non-NPM projects feel free to use it :)

@gaearon
Copy link
Contributor

gaearon commented Sep 29, 2015

If you can prepare a PR for cdnjs that would be rad.
This way, you can point Bower to cdnjs file.

@gaearon
Copy link
Contributor

gaearon commented Sep 29, 2015

Here is an example of how I did it for redux: cdnjs/cdnjs#5371

@gaearon
Copy link
Contributor

gaearon commented Oct 20, 2015

It's going to be on cdnjs soon: cdnjs/cdnjs#5980

@gaearon
Copy link
Contributor

gaearon commented Oct 23, 2015

React Redux is now available on cdnjs: https://cdnjs.com/libraries/react-redux

@gaearon gaearon closed this as completed Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants