24

I need to upgrade an application I'm working on with the latest Bootstrap version but I'm struggling to figure out what an addition of bootstrap.css.map is for?

Do I need to have them to have the css work properly?

I did some search before writing this but since it's relatively new, I haven't come across any tangible explanations to this.

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
Seong Lee
  • 10,314
  • 25
  • 68
  • 106
  • 2
    possible duplicate of [what are the .map files used for in Bootstrap 3.1?](http://stackoverflow.com/questions/21504611/what-are-the-map-files-used-for-in-bootstrap-3-1) – XML Mar 27 '14 at 13:08

2 Answers2

29

It is source map for Firefox and Chrome debuggers.

http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/

Because the source code is minified/bundled the line numbers do not refer to the orignal files. Source map protocol fixes this, allowing the web debuggers to refer to the original context from where the CSS was generated.

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
2

you can download it and then place it at the same directory of bootstrap.css file

https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.css.map

Ahmad Sharif
  • 4,141
  • 5
  • 37
  • 49