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

CSS CSS to Sass Refactoring with Sass Finishing and Importing our Partials

Jacob Brech
Jacob Brech
7,224 Points

application.css.map

Why is this file automatically created. Don't we only need the application.css file?

1 Answer

Ryan Field
PLUS
Ryan Field
Courses Plus Student 21,242 Points

Hi Jacob,

A css.map file is generated because once you compile your application's single stylesheet, it can be difficult to figure out where certain styles are coming from on your page, especially when you have dozens of stylesheets all being compiled into one. When you use inspection tools on Chrome, for example, if you have the css.map file in your css folder, you can tell which styles for which elements come from which partial, which makes it much easier to debug/update things.