components / bootstrap

Shim repository for Twitter Bootstrap.

Home Page:http://getbootstrap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include component .js files

pavarnos opened this issue · comments

Hi
Are you willing to include the component .js files in your /js/ directory? Some people (me included) like to build (combine & minify) their own .js and .css files to get a smaller file for users to download. Bootstrap has a number of optional components eg scrollspy that many sites don't use. So the ability to leave them out of your build makes your site load faster. components/bootstrap includes the component .less files so we can make the css. Can you include the .js files too?

see Eonasdan/tempus-dominus#461 for some context: projects with bootstrap as a dependency have trouble picking which package to install because there are equal benefits to each.

@RobLoach what do you think? created PR #33 for this.

no reaction... I've merged the PR anyway.

👍

This is a great idea, and I'm glad you got it merged.

awesome. thank you!