-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
dist folder ignored in bower.json #27
Comments
Bower is usually used for accessing the source code (e.g. sass) so you can build your own custom distribution: Can you show me an example of where it's useful to access the dist folder from Bower? |
It may be useful when developing a small project that doesn't have a build system, so you can use the bower component right after issuing |
Is it easier to use the .css files from bower as opposed to hot linking from the CDN? Here's boilerplate which includes links to the CDN: It seems like the bootstrap-sass-official bower package only includes the source files: I'm curious to hear more about how you're using bower and why it's more useful to access pre-built distribution files from bower over the CDN or the download package. |
I personally prefer to serve the files locally rather than from a CDN, for security and reliability reasons. It's not that I don't trust the CDN, but for developing an application that manipulates sensible data (such as passwords) or can be ran on an infrastructure that may have a proxy which could block the CDN for whatever reason, proceeding this way is better. Bootstrap-sass doesn't seem to have pre-built files on its git server, however, mui does, which is a good point, because the only obstacle blocking the pre-built files to be included in bower is this little line in Using pre-built files with bower is really useful when you can't/won't use a CDN (e.g. reasons mentioned above), and you can't/won't configure a build system (e.g. for small projects, or when you don't have time to do so). You just have to point yours Let me insist on the fact that's it's only one line to remove, which will benefit some users and won't disturb others (apart from some extra files downloaded, I don't think it's a problem). |
Added 'dist' directory to bower.json in v0.1.15 via 45dfd7d You can also download the pre-built package as a zip file from the MUI website: |
Thanks :-) |
I mean, this probably the most useful folder when you use it with bower. Why ignore it?
The text was updated successfully, but these errors were encountered: