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 trialDarren Healy
Front End Web Development Techdegree Student 23,565 PointsI'm using bootstrap. What are the .map files for and do I need them?
Just as above.
3 Answers
James Gill
Courses Plus Student 34,936 PointsDarren,
They're called "source maps", and are primarily used by Firefox and Chrome debuggers. They exist so that the debugger can display compiled CSS (via LESS, SASS, etc.) in a readable format. In other words, if you're using a CSS preprocessor, and the browser debugger attempts to display the resulting CSS, it's gobbledeygook. A source map acts as an intermediary to explain what the compiled CSS maps to in the source file.
Here's a more detailed description: http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
Hope that helps, -james
James Gill
Courses Plus Student 34,936 PointsDarren,
If you're not using a CSS preprocessor, you can safely delete them.
Darren Healy
Front End Web Development Techdegree Student 23,565 PointsThanks guys, I'm still learning!
James Gill
Courses Plus Student 34,936 PointsMe too!
Darren Healy
Front End Web Development Techdegree Student 23,565 PointsDarren Healy
Front End Web Development Techdegree Student 23,565 PointsThanks James, that info at the link is a bit too heavy for me right now!
Last questions.
Ryan Duchene
Courses Plus Student 46,022 PointsRyan Duchene
Courses Plus Student 46,022 PointsIf you're not using a CSS preprocessor like Sass or LESS, you can just delete them. You can always download them again later if need be.
If you're curious as to how to actually use them, Dale Sande has a video on them here. The video also doesn't just apply to Sass, but also to LESS and even jQuery, too.