Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Rebecca Jensen
Rebecca Jensen
11,580 Points

How many Bootstrap files to include?

I've made a simple resume/portfolio page for myself using Bootstrap. I have two Bootstrap .js files (bootstrap.js and bootstrap.min.js). I only need to upload the min.js version to my site, correct? That seems simple enough.

However, there are TONS of Bootstrap CSS files!

boostrap-theme.css boostrap-theme.css.map boostrap-theme.min.css boostrap-theme.min.css.map bootstrap.css bootstrap.css.map bootstrap.min.css bootstrap.min.css.map

How many of these do I keep??

I'm thinking that I only upload the min versions. But then I'm still wondering what the .map versions do.

Can anyone shed some light on this for me?

Thank you!

1 Answer

Sandra Hogan
Sandra Hogan
8,657 Points

Usually, if you are not going to be editing the code the minified (.min) versions of the files are good enough....but if you plan on editing any of the .css or .js you may want to use the straight .js or .css files.

As far as the .map files go I found this other Community post that explains a little about .map files:
Bootstrap .map files

Hope that helps a little.