-
Notifications
You must be signed in to change notification settings - Fork 562
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
Should this provide a UMD / minified version? #9
Comments
I wrapped a simple try/catch around the export statement, not a proper solution but this way if it's included directly it'll expose a global |
Here's how I do it: https://github.com/chenglou/react-treeview/blob/master/react-treeview.jsx Also, I don't usually provide a min inside repo too. Bower users will probably just add that to the list of things they need to minify anyways. |
Started borrowing your code from Feel free to open a PR if you've got a better way... otherwise, thanks :) |
I think it would be really great if an |
@marcfallows why? |
Since it's published to Bower (#7) some people may just want to be able to drop it into their page, so we'll need to include a build (via browserify / web pack) for that. Might be nice to dist a .min version too, even though it's tiny.
@chenglou thoughts?
The text was updated successfully, but these errors were encountered: