-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add dist folder #2261
Comments
The issue is your releases section is not set up for a bower pull. You should consider it. Many other javascipt libraries do this and have a build directory on the main release branch. Sent from my Windows Phone From: Andrew Dunkmanmailto:notifications@github.com @chassqhttps://github.com/chassq check out the releaseshttps://github.com/harvesthq/chosen/releases section for compiled code. We’re not so happy to include build artifacts in the source repository, since, well, they’re build artifacts. Thanks for the interest, though! — |
Bower does not currently support adding a post-install/build step. We don't provide compiled sources in the repos for many reasons which have been repeatedly stated throughout the issue tracker. However, you can specify that you'd like to use the release ZIP, which includes the compiled and minified sources. Either install from the command line with
or add Chosen to your own project's {
"name": "my-project",
"version": "1.0.0",
"dependencies": {
"jquery": "1.11.0",
"chosen": "https://github.com/harvesthq/chosen/releases/download/v1.4.0/chosen_v1.4.0.zip"
}
} See #1509, #1472, and #1333 for more info. This is even documented in the README. |
As of 1.4.2, Chosen supports bower installs. Read the 1.4.2 release notes for details. |
I personally always find the |
@alvarotrigo having conflicts on all pull requests each time we merge one, because of the dist folder (and so being unable to merge 2 PRs in a row) is a huge burden for maintainers. If you want to see the code size, look at the other repository where we store built files (updated only for releases, not for every push into master) |
@stof I see... Just as a though. Maybe pull request can be done in a |
Hey Guys,
Great lib! Would you mind adding a dist folder with compiled code? It would be nice to have when we use bower to install pkg. Right now we only seem to get the source and would have to compile ourselves. Would be a nice convenience!
Thanks!
The text was updated successfully, but these errors were encountered: